Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cuda_bindings/cuda/ccuda.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ cdef extern from *:
#pragma message ( "The cuda.ccuda module is deprecated and will be removed in a future release, " \
"please switch to use the cuda.bindings.cydriver module instead." )
"""


from cuda.bindings import cydriver
__pyx_capi__ = cydriver.__pyx_capi__
del cydriver
5 changes: 5 additions & 0 deletions cuda_bindings/cuda/ccudart.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ cdef extern from *:
#pragma message ( "The cuda.ccudart module is deprecated and will be removed in a future release, " \
"please switch to use the cuda.bindings.cyruntime module instead." )
"""


from cuda.bindings import cyruntime
__pyx_capi__ = cyruntime.__pyx_capi__
del cyruntime
5 changes: 5 additions & 0 deletions cuda_bindings/cuda/cnvrtc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ cdef extern from *:
#pragma message ( "The cuda.cnvrtc module is deprecated and will be removed in a future release, " \
"please switch to use the cuda.bindings.cynvrtc module instead." )
"""


from cuda.bindings import cynvrtc
__pyx_capi__ = cynvrtc.__pyx_capi__
del cynvrtc
6 changes: 2 additions & 4 deletions cuda_bindings/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ def do_cythonize(extensions):
["cuda/bindings/*.pyx"],
# public (deprecated, to be removed)
["cuda/*.pyx"],
# tests
["tests/*.pyx"],
]

for sources in sources_list:
Expand Down Expand Up @@ -260,9 +258,9 @@ def finalize_options(self):
setup(
version=versioneer.get_version(),
ext_modules=do_cythonize(extensions),
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "tests"]),
packages=find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime"]),
package_data=dict.fromkeys(
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "tests"]),
find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime"]),
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
),
cmdclass=cmdclass,
Expand Down