Skip to content

Commit 04ba2ad

Browse files
committed
remove Cython API from program
1 parent 6a347df commit 04ba2ad

4 files changed

Lines changed: 5 additions & 42 deletions

File tree

‎docs/doc_sources/api_reference/dpctl_cython.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
.. role:: python(code)
77
:language: python
88

9-
All Python modules of :py:mod:`dpctl` come with ``__init__.pxd`` alongside ``__init__.py`` files
10-
permitting doing both :python:`import dpctl` and :code:`cimport dpctl as c_dpctl`.
9+
Python modules of :py:mod:`dpctl` that expose a Cython API come with ``__init__.pxd`` alongside
10+
``__init__.py`` files, permitting doing both :python:`import dpctl` and :code:`cimport dpctl as c_dpctl`.
1111

1212
Locations of Cython declaration files in the package installation layout are as follows:
1313

@@ -24,12 +24,12 @@ Locations of Cython declaration files in the package installation layout are as
2424
_sycl_queue_manager.pxd
2525
sycl.pxd
2626
27+
compiler/__init__.pxd
28+
compiler/_compiler.pxd
29+
2730
memory/__init__.pxd
2831
memory/_memory.pxd
2932
30-
program/__init__.pxd
31-
program/_program.pxd
32-
3333
File ``_backend.pxd`` redefines symbols from :ref:`DPCTLSyclInterface library <libsyclinterface>` for Cython.
3434

3535
File ``sycl.pxd`` provides casters from opaque types in "DPCTLSyclInterface" C library to SYCL C++ object pointers.

‎dpctl/compiler/__init__.pxd‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ from dpctl.compiler._compiler cimport (
2727
SyclKernelBundle,
2828
create_kernel_bundle_from_source,
2929
create_kernel_bundle_from_spirv,
30-
create_program_from_source,
31-
create_program_from_spirv,
3230
)

‎dpctl/program/__init__.pxd‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎setup.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"*.pxd",
5050
"compiler/*.pxd",
5151
"memory/*.pxd",
52-
"program/*.pxd",
5352
]
5453
},
5554
include_package_data=False,

0 commit comments

Comments
 (0)