Use TF_CUDA_LIB_VERSION for cusolver and cusparse. Looks like with this change
dso_loader.cc can find these libraries with Cuda 10.1. PiperOrigin-RevId: 246373082
This commit is contained in:
parent
c030f6da89
commit
73a5fa2ae1
@ -83,11 +83,11 @@ port::StatusOr<void*> GetCufftDsoHandle() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
port::StatusOr<void*> GetCusolverDsoHandle() {
|
port::StatusOr<void*> GetCusolverDsoHandle() {
|
||||||
return GetDsoHandle("cusolver", GetCudaVersion());
|
return GetDsoHandle("cusolver", GetCudaLibVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
port::StatusOr<void*> GetCusparseDsoHandle() {
|
port::StatusOr<void*> GetCusparseDsoHandle() {
|
||||||
return GetDsoHandle("cusparse", GetCudaVersion());
|
return GetDsoHandle("cusparse", GetCudaLibVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
port::StatusOr<void*> GetCurandDsoHandle() {
|
port::StatusOr<void*> GetCurandDsoHandle() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user