Skip to content

Commit 9c25910

Browse files
committed
CI: Skip compute-sanitizer on CTK11
1 parent bdfb547 commit 9c25910

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ jobs:
182182

183183
- name: Set up compute-sanitizer
184184
run: |
185-
if [[ "${{ inputs.python-version }}" == "3.12" && "${{ inputs.local-ctk }}" == 1 ]]; then
185+
# We don't test compute-sanitizer on CTK<12 because backporting fixes is too much effort
186+
# We only test compute-sanitizer on python 3.12 arbitrarily; we don't need to use sanitizer on the entire matrix
187+
# Only local ctk installs have compute-sanitizer; there is not wheel for it
188+
if [[ "${{ inputs.python-version }}" == "3.12" && "${{ inputs.cuda-verion }}" != "11.8.0" && "${{ inputs.local-ctk }}" == 1 ]]; then
186189
COMPUTE_SANITIZER="${CUDA_HOME}/bin/compute-sanitizer"
187190
COMPUTE_SANITIZER_VERSION=$(${COMPUTE_SANITIZER} --version | grep -Eo "[0-9]{4}\.[0-9]\.[0-9]" | sed -e 's/\.//g')
188191
SANITIZER_CMD="${COMPUTE_SANITIZER} --target-processes=all --launch-timeout=0 --tool=memcheck --error-exitcode=1"

0 commit comments

Comments
 (0)