Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Try without dlopen'ing libcutensor.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Sep 5, 2019
1 parent 6ef3e44 commit 991786c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ CUDAapi = "3895d2a7-ec45-59b8-82bb-cfc6a382f9b3"
CUDAdrv = "c5f51814-7f29-56b8-a69c-e4d8f6be1fde"
CUDAnative = "be33ccc6-a3ff-5ff2-a52e-74243cff1e17"
GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
Expand Down
7 changes: 0 additions & 7 deletions src/tensor/CUTENSOR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,4 @@ function version()
VersionNumber(major, minor, patch)
end

function __init__()
if libcutensor !== nothing
Libdl.dlopen(CuArrays.CUBLAS.libcublas, RTLD_NOW | RTLD_DEEPBIND | RTLD_GLOBAL)
Libdl.dlopen(libcutensor, RTLD_LAZY | RTLD_DEEPBIND | RTLD_GLOBAL)
end
end

end

0 comments on commit 991786c

Please sign in to comment.