Created
August 14, 2025 18:04
-
-
Save mdboom/73960e9ce938356a10ab57c6a07a8378 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ============================= test session starts ============================== | |
| platform linux -- Python 3.13.6, pytest-8.4.1, pluggy-1.6.0 | |
| benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) | |
| rootdir: /home/mdboom/Work/builds/cuda-python/cuda_core/tests | |
| configfile: pytest.ini | |
| plugins: benchmark-5.1.0 | |
| collected 423 items | |
| cuda_core/tests/example_tests/test_basic_examples.py s....s..s.. [ 2%] | |
| cuda_core/tests/test_context.py . [ 2%] | |
| cuda_core/tests/test_cuda_utils.py .... [ 3%] | |
| cuda_core/tests/test_device.py ......................................... [ 13%] | |
| ........................................................................ [ 30%] | |
| ...... [ 31%] | |
| cuda_core/tests/test_event.py .......F | |
| =================================== FAILURES =================================== | |
| _________________________ test_error_timing_incomplete _________________________ | |
| @skipif_need_cuda_headers # libcu++ | |
| @pytest.mark.skipif(tuple(int(i) for i in np.__version__.split(".")[:2]) < (2, 1), reason="need numpy 2.1.0+") | |
| def test_error_timing_incomplete(): | |
| device = Device() | |
| device.set_current() | |
| # This kernel is designed to busy loop until a signal is received | |
| code = """ | |
| #include <cuda/atomic> | |
| extern "C" | |
| __global__ void wait(int* val) { | |
| cuda::atomic_ref<int, cuda::thread_scope_system> signal{*val}; | |
| while (true) { | |
| if (signal.load(cuda::memory_order_relaxed)) { | |
| break; | |
| } | |
| } | |
| } | |
| """ | |
| arch = "".join(f"{i}" for i in device.compute_capability) | |
| program_options = ProgramOptions( | |
| std="c++17", | |
| arch=f"sm_{arch}", | |
| include_path=helpers.CCCL_INCLUDE_PATHS, | |
| ) | |
| prog = Program(code, code_type="c++", options=program_options) | |
| > mod = prog.compile(target_type="cubin") | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| cuda_core/tests/test_event.py:157: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| .venv/lib/python3.13/site-packages/cuda/core/experimental/_program.py:489: in compile | |
| handle_return( | |
| cuda/core/experimental/_utils/cuda_utils.pyx:118: in cuda.core.experimental._utils.cuda_utils.handle_return | |
| ??? | |
| cuda/core/experimental/_utils/cuda_utils.pyx:112: in cuda.core.experimental._utils.cuda_utils._check_error | |
| ??? | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| > ??? | |
| E cuda.core.experimental._utils.cuda_utils.NVRTCError: 6: NVRTC_ERROR_COMPILATION, compilation log: | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(1460): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(1461): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP8__ __nv_fp8x4_e5m2(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(1521): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E Remark: The warnings can be suppressed with "-diag-suppress <warning-number>" | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2089): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2090): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP8__ __nv_fp8x4_e4m3(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2150): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2738): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2739): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP8__ __nv_fp8x4_e8m0(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp8.hpp(2800): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(952): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(953): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP6__ __nv_fp6x4_e3m2(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(1013): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(1534): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(1535): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP6__ __nv_fp6x4_e2m3(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp6.hpp(1595): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp4.hpp(907): error: this declaration has no storage class or type specifier | |
| E __NV_SILENCE_DEPRECATION_BEGIN | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp4.hpp(908): error: expected a ";" | |
| E explicit __CUDA_HOSTDEVICE_FP4__ __nv_fp4x4_e2m1(const double4 f) { | |
| E ^ | |
| E | |
| E /usr/local/cuda-13/include/cuda_fp4.hpp(970): warning #12-D: parsing restarts here after previous syntax error | |
| E }; | |
| E ^ | |
| E | |
| E 12 errors detected in the compilation of "<default program>". | |
| E | |
| cuda/core/experimental/_utils/cuda_utils.pyx:103: NVRTCError | |
| =========================== short test summary info ============================ | |
| FAILED cuda_core/tests/test_event.py::test_error_timing_incomplete - cuda.cor... | |
| !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! | |
| =================== 1 failed, 139 passed, 3 skipped in 2.50s =================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment