Skip to content

Commit 80a63cd

Browse files
authored
Merge pull request #31 from leofang/cccl
update cudax import path
2 parents 87ae6dc + a81525a commit 80a63cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/device/cublasdx_fp64_emulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import numpy as np
2424
from numba import int32, int8, int16, float64, int64, types
2525
from numba.types import Tuple
26-
import cuda.cooperative.experimental as cudax
26+
import cuda.cccl.cooperative.experimental as cudax
2727

2828
from common import mm_perf_GFlops, random_real
2929
from common_numba import time_numba

tests/example_tests/device_tests/test_device_samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_sample(self, sample):
2424
# are using global memory alignment in the sample.
2525
pytest.skip("Skipping test for cublasdx_device_gemm_performance.py, requires libmathdx >= 0.2.1")
2626
if os.path.basename(sample) == "cublasdx_fp64_emulation.py":
27-
spec = importlib.util.find_spec("cuda.cooperative")
27+
spec = importlib.util.find_spec("cuda.cccl.cooperative")
2828
if spec is None:
2929
pytest.skip("Skipping test for cublasdx_fp64_emulation.py, requires cuda.cooperative module")
3030
run_sample(samples_path, sample, {"__name__": "__main__"})

0 commit comments

Comments
 (0)