Skip to content

Commit

Permalink
Disable compute-sanitizer testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Mar 16, 2023
1 parent e6ab661 commit 476979e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
46 changes: 23 additions & 23 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,29 +213,29 @@ steps:
if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft
timeout_in_minutes: 30

- label: "Compute sanitizer"
plugins:
- JuliaCI/julia#v1:
version: 1.8
- JuliaCI/julia-test#v1:
julia_args: "-g2"
test_args: "--sanitize --quickfail --jobs=2"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
env:
JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda
commands: |
julia --project -e 'using CUDA; CUDA.set_runtime_version!(v"11.6")'
if: build.message !~ /\[skip tests\]/ &&
build.branch =~ /^master$$/
timeout_in_minutes: 240
# XXX: fails often, and is very slow
#- label: "Compute sanitizer"
# plugins:
# - JuliaCI/julia#v1:
# version: 1.8
# - JuliaCI/julia-test#v1:
# julia_args: "-g2"
# test_args: "--sanitize --quickfail --jobs=2"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - src
# - lib
# - examples
# agents:
# queue: "juliagpu"
# cuda: "*"
# env:
# JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda
# commands: |
# julia --project -e 'using CUDA; CUDA.set_runtime_version!(v"11.6")'
# if: build.message !~ /\[skip tests\]/
# timeout_in_minutes: 240

# we want to benchmark every commit on the master branch, even if it failed CI
- wait: ~
Expand Down
6 changes: 3 additions & 3 deletions src/initialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ function __init__()
end
driver = driver_version()

if driver < v"11" || driver >= v"13"
@error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x or 12.x (yours is for CUDA $driver)"
_initialization_error[] = "CUDA driver too old or too new"
if driver < v"11"
@error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x or higher (yours is for CUDA $driver)"
_initialization_error[] = "CUDA driver too old"
return
end

Expand Down

0 comments on commit 476979e

Please sign in to comment.