Skip to content

Commit

Permalink
Add missing -DGOOGLE_CUDA to dsoloader.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 249238691
  • Loading branch information
yifeif authored and tensorflower-gardener committed May 21, 2019
1 parent 6ad9543 commit eae5d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tensorflow/stream_executor/platform/default/BUILD
Expand Up @@ -3,6 +3,7 @@ licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//tensorflow/stream_executor:__subpackages__"])

load("//tensorflow/core:platform/default/build_config_root.bzl", "if_static")
load("//tensorflow:tensorflow.bzl", "tf_copts")

cc_library(
name = "platform",
Expand All @@ -19,6 +20,7 @@ cc_library(
["dlopen_checker.cc"],
),
hdrs = ["dso_loader.h"],
copts = tf_copts(),
deps = [
"//tensorflow/stream_executor:platform",
"//tensorflow/stream_executor/lib",
Expand Down

0 comments on commit eae5d0b

Please sign in to comment.