aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/gpus/cuda/BUILD.tpl
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-04-10 16:17:44 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-04-10 17:28:17 -0700
commit72c023d3967a3218cd3d830ce6e57f7c4d87a18c (patch)
tree6401e38c3e9cc64f472f31cc84c6b7b80712e718 /third_party/gpus/cuda/BUILD.tpl
parent2f5fde8dd977681110714a0564445a406506282c (diff)
Add support for solvers based on the Nvidia cuSolver library.
Implement a GPU version of tf.cholesky as a first example. Change: 152756373
Diffstat (limited to 'third_party/gpus/cuda/BUILD.tpl')
-rw-r--r--third_party/gpus/cuda/BUILD.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/gpus/cuda/BUILD.tpl b/third_party/gpus/cuda/BUILD.tpl
index e101f9fbd8..474c972a4c 100644
--- a/third_party/gpus/cuda/BUILD.tpl
+++ b/third_party/gpus/cuda/BUILD.tpl
@@ -91,6 +91,16 @@ cc_library(
)
cc_library(
+ name = "cusolver",
+ srcs = ["lib/%{cusolver_lib}"],
+ data = ["lib/%{cusolver_lib}"],
+ includes = ["include/"],
+ linkstatic = 1,
+ linkopts = ["-lgomp"],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
name = "cudnn",
srcs = ["lib/%{cudnn_lib}"],
data = ["lib/%{cudnn_lib}"],