Skip to content

Commit 592c070

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 2317
1 parent b271ac4 commit 592c070

562 files changed

Lines changed: 210038 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pulls/2317/_modules/dpctl.html

Lines changed: 811 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/_device_selection.html

Lines changed: 763 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/_sycl_timer.html

Lines changed: 951 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/enum_types.html

Lines changed: 801 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/program/_program.html

Lines changed: 725 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/utils/_intel_device_info.html

Lines changed: 778 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/utils/_onetrace_context.html

Lines changed: 755 additions & 0 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/index.html

Lines changed: 680 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.. _dpctl_compiler_pyapi:
2+
3+
:py:mod:`dpctl.compiler`
4+
========================
5+
6+
:py:mod:`dpctl.compiler` provides a way to create a SYCL kernel
7+
from either an OpenCL* program source code represented as a string
8+
or a SPIR-V binary file.
9+
10+
It implements creation of interoperability
11+
``sycl::kernel_bundle<sycl::bundle_state_executable>`` (a collection of kernels),
12+
as well as creation of individual ``sycl::kernel``, suitable for submission for
13+
execution via :py:meth:`dpctl.SyclQueue.submit`.
14+
15+
.. py:module:: dpctl.compiler
16+
17+
.. currentmodule:: dpctl.compiler
18+
19+
.. autosummary::
20+
:toctree: generated
21+
:nosignatures:
22+
23+
create_kernel_bundle_from_source
24+
create_kernel_bundle_from_spirv
25+
26+
.. autosummary::
27+
:toctree: generated
28+
:nosignatures:
29+
30+
SyclKernelBundle
31+
SyclKernel
32+
SpecializationConstant
33+
34+
.. autosummary::
35+
:toctree: generated
36+
:nosignatures:
37+
38+
SyclKernelBundleCompilationError
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. _dpctl_constants:
2+
3+
Constants
4+
=========
5+
6+
The following constants are defined in :py:mod:`dpctl`:
7+
8+
.. currentmodule:: dpctl
9+
10+
.. autodata:: device_type
11+
12+
.. autodata:: backend_type
13+
14+
.. autodata:: event_status_type
15+
16+
.. autodata:: global_mem_cache_type

0 commit comments

Comments
 (0)