Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal memory access in GemmKernels on Julia 1.9 #2250

Open
thomasfaingnaert opened this issue Jan 24, 2024 · 0 comments
Open

Illegal memory access in GemmKernels on Julia 1.9 #2250

thomasfaingnaert opened this issue Jan 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thomasfaingnaert
Copy link
Member

As requested: we're getting a CUDA error: an illegal memory access was encountered (code 700, ERROR_ILLEGAL_ADDRESS) in the benchmark suite of GemmKernels. I placed a reproducer at https://github.com/JuliaGPU/GemmKernels.jl/tree/tf/repro-illegal-memacces.

Interestingly, the illegal memory access only happens on Julia 1.9, and is fixed on 1.10:

$ git clone https://github.com/JuliaGPU/GemmKernels.jl --branch tf/repro-illegal-memacces
$ cd GemmKernels.jl/

$ julia-1.9.4 --project -e 'using Pkg; Pkg.instantiate(); include("repro.jl")'
ERROR: LoadError: CUDA error: an illegal memory access was encountered (code 700, ERROR_ILLEGAL_ADDRESS)
# ...

$ julia-1.10.0 --project -e 'using Pkg; Pkg.instantiate(); include("repro.jl")' 
# works

ref JuliaGPU/GemmKernels.jl#186 (comment)

@thomasfaingnaert thomasfaingnaert added the bug Something isn't working label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant