Using "is_cuda_is_configured_compat" to select the cuda libraries.
PiperOrigin-RevId: 307728709 Change-Id: I90edb98ca5a2eb641f27e3fa54d6a6cbcaf8420e
This commit is contained in:
parent
ab0cbb3cc0
commit
4b700752f3
@ -91,8 +91,9 @@ tf_cuda_library(
|
||||
deps = [
|
||||
"//tensorflow/core:lib",
|
||||
"//tensorflow/core:platform_base",
|
||||
] + if_cuda_is_configured_compat([
|
||||
"//tensorflow/stream_executor/cuda:cupti_stub",
|
||||
],
|
||||
]),
|
||||
)
|
||||
|
||||
tf_cuda_library(
|
||||
@ -103,8 +104,9 @@ tf_cuda_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":cupti_interface",
|
||||
] + if_cuda_is_configured_compat([
|
||||
"//tensorflow/stream_executor/cuda:cupti_stub",
|
||||
],
|
||||
]),
|
||||
)
|
||||
|
||||
tf_cuda_library(
|
||||
|
Loading…
Reference in New Issue
Block a user