File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,10 @@ jobs:
182
182
183
183
- name : Set up compute-sanitizer
184
184
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
186
189
COMPUTE_SANITIZER="${CUDA_HOME}/bin/compute-sanitizer"
187
190
COMPUTE_SANITIZER_VERSION=$(${COMPUTE_SANITIZER} --version | grep -Eo "[0-9]{4}\.[0-9]\.[0-9]" | sed -e 's/\.//g')
188
191
SANITIZER_CMD="${COMPUTE_SANITIZER} --target-processes=all --launch-timeout=0 --tool=memcheck --error-exitcode=1"
You can’t perform that action at this time.
0 commit comments