You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
However, I encounter a problem with CUBLAS. Using Matrix multiplication does not work for me. I get the following problem:
using CuArrays
CuArrays.seed!(42)
A = CuArrays.rand(5,5)
A*A
ERROR: CUBLASError: the library was not initialized (code 1, CUBLAS_STATUS_NOT_INITIALIZED)
Stacktrace:
[1] throw_api_error(::CuArrays.CUBLAS.cublasStatus_t) at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/error.jl:52
[2] macro expansion at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/error.jl:65 [inlined]
[3] cublasCreate_v2 at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/libcublas.jl:9 [inlined]
[4] cublasCreate_v2 at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/wrappers.jl:8 [inlined]
[5] (::CuArrays.CUBLAS.var"#354#356"{CUDAdrv.CuContext})() at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/CUBLAS.jl:40
[6] get! at ./abstractdict.jl:661 [inlined]
[7] handle() at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/CUBLAS.jl:39
[8] top-level scope at REPL[3]:1
I tried to search for the error, and I ended up here:
julia>using CuArrays
julia> CuArrays.CUBLAS.handle()
ERROR: CUBLASError: the library was not initialized (code 1, CUBLAS_STATUS_NOT_INITIALIZED)
Stacktrace:
[1] throw_api_error(::CuArrays.CUBLAS.cublasStatus_t) at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/error.jl:52
[2] macro expansion at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/error.jl:65 [inlined]
[3] cublasCreate_v2 at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/libcublas.jl:9 [inlined]
[4] cublasCreate_v2 at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/wrappers.jl:8 [inlined]
[5] (::CuArrays.CUBLAS.var"#354#356"{CUDAdrv.CuContext})() at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/CUBLAS.jl:40
[6] get! at ./abstractdict.jl:661 [inlined]
[7] handle() at /home/jo/.julia/packages/CuArrays/1njKF/src/blas/CUBLAS.jl:39
[8] top-level scope at REPL[3]:1
Here is all the information about the julia version and the packages:
Thank you for creating this amazing library.
However, I encounter a problem with CUBLAS. Using Matrix multiplication does not work for me. I get the following problem:
I tried to search for the error, and I ended up here:
Here is all the information about the julia version and the packages:
The text was updated successfully, but these errors were encountered: