Skip to content

Commit 5dd3e80

Browse files
committed
Add note about compute sanitizer for cxx.Device()
1 parent 12e8b07 commit 5dd3e80

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

cuda_core/cuda/core/experimental/_device.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,13 @@ class Device:
955955
----
956956
Will not initialize the GPU.
957957
958+
Note
959+
----
960+
Internal implementation depends on the CUDA Driver API error handling, that
961+
may cause ``compute-sanitizer`` to fail. In order to avoid this, you can use
962+
``--report-api-errors=no`` `compute-sanitizer argument
963+
<https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html>`__.
964+
958965
Parameters
959966
----------
960967
device_id : int, optional

0 commit comments

Comments
 (0)