Skip to content

Commit 12dbf29

Browse files
committed
Address feedback by @leofang
1 parent ebdbb22 commit 12dbf29

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/cuda_cooperative/cuda/cooperative/experimental/_nvrtc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def compile_impl(cpp, cc, rdc, code, nvrtc_path, nvrtc_version):
3434
from cuda.cccl import get_include_paths
3535

3636
for path in get_include_paths().as_tuple():
37-
if path:
37+
if path is not None:
3838
opts += [f"--include-path={path}".encode("ascii")]
3939
opts += [f"--gpu-architecture=compute_{cc}".encode("ascii")]
4040
if rdc:

python/cuda_cooperative/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"numpy",
2222
"numba>=0.60.0",
2323
"pynvjitlink-cu12>=0.2.4",
24-
"cuda-python",
24+
"cuda-python==12.*",
2525
"jinja2",
2626
]
2727
dynamic = ["version", "readme"]

python/cuda_parallel/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"License :: OSI Approved :: Apache Software License",
1717
]
1818
requires-python = ">=3.9"
19-
dependencies = ["cuda-cccl", "numba>=0.60.0", "cuda-python"]
19+
dependencies = ["cuda-cccl", "numba>=0.60.0", "cuda-python==12.*"]
2020
dynamic = ["version", "readme"]
2121

2222
[project.optional-dependencies]

0 commit comments

Comments
 (0)