aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/gpus/cuda/BUILD.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gpus/cuda/BUILD.tpl')
-rw-r--r--third_party/gpus/cuda/BUILD.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/gpus/cuda/BUILD.tpl b/third_party/gpus/cuda/BUILD.tpl
index cb985c2251..d3c307a6a0 100644
--- a/third_party/gpus/cuda/BUILD.tpl
+++ b/third_party/gpus/cuda/BUILD.tpl
@@ -160,3 +160,9 @@ cc_library(
],
visibility = ["//visibility:public"],
)
+
+cc_library(
+ name = "libdevice_root",
+ data = glob(["nvvm/libdevice/*.bc"]),
+ visibility = ["//visibility:public"],
+)