Open
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct
Type of Bug
Silent Failure
Component
cuda.bindings
Describe the bug
The "catastrophic error" below was overlooked in the the preparation for SWQA testing, because it's masked as skipped
.
How to Reproduce
(WinDevVenv) PS C:\Users\rgrossekunst\forked\cuda-python-private\unreleased-13.0\cuda_bindings> python -m pytest -s -vv examples\
================================================= test session starts =================================================
platform win32 -- Python 3.13.5, pytest-8.4.1, pluggy-1.6.0 -- C:\Users\rgrossekunst\forked\cuda-python-private\unreleased-13.0\WinDevVenv\scripts\python.exe
cachedir: .pytest_cache
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: C:\Users\rgrossekunst\forked\cuda-python-private\unreleased-13.0\cuda_bindings\examples
configfile: pytest.ini
plugins: benchmark-5.1.0
collecting ... sourceCode.cu(2): catastrophic error: cannot open source file "cuda/barrier"
#include <cuda/barrier>
^
1 catastrophic error detected in the compilation of "sourceCode.cu".
Compilation terminated.
CUDA error code=6(b'NVRTC_ERROR_COMPILATION')
collected 1 item
examples\3_CUDA_Features\globalToShmemAsyncCopy_test.py::main SKIPPED (Automation filter against incompatible
kernel)
================================================= 1 skipped in 0.49s ==================================================
Expected behavior
We need to be more selective in catching and processing this kind of error.
Operating System
No response
nvidia-smi output
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo