aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/gpus
diff options
context:
space:
mode:
authorGravatar Niall Moran <niall.moran@gmail.com>2018-08-09 00:29:49 +0100
committerGravatar Niall Moran <niall.moran@gmail.com>2018-08-09 00:29:49 +0100
commitb7d97e85a509dc14f3e81bb289fdb7bad64f0bbe (patch)
tree2cc3ca64dd5187ab872081d791fc9e9de350871d /third_party/gpus
parent99ae68bba52bb6338af06f37bb104128d7af6fb4 (diff)
Update cuda and cudnn paths to for debian
Diffstat (limited to 'third_party/gpus')
-rw-r--r--third_party/gpus/cuda_configure.bzl4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/gpus/cuda_configure.bzl b/third_party/gpus/cuda_configure.bzl
index e848fa175c..f6a39aeaf1 100644
--- a/third_party/gpus/cuda_configure.bzl
+++ b/third_party/gpus/cuda_configure.bzl
@@ -61,6 +61,7 @@ CUDA_LIB_PATHS = [
CUPTI_HEADER_PATHS = [
"extras/CUPTI/include/",
"include/cuda/CUPTI/",
+ "include/",
]
# Lookup paths for the cupti library, relative to the
@@ -69,7 +70,7 @@ CUPTI_HEADER_PATHS = [
# the other CUDA libraries but rather in a special extras/CUPTI directory.
CUPTI_LIB_PATHS = [
"extras/CUPTI/lib64/",
- "lib/x86_64-linux-gnu",
+ "lib/x86_64-linux-gnu/",
"lib64/",
"extras/CUPTI/libx64/",
"extras/CUPTI/lib/",
@@ -96,6 +97,7 @@ CUDNN_INCLUDE_PATHS = [
NVVM_LIBDEVICE_PATHS = [
"nvvm/libdevice/",
"share/cuda/",
+ "lib/nvidia-cuda-toolkit/libdevice/",
]
# Files used to detect the NVVM libdevice path.