diff options
Diffstat (limited to 'tensorflow/core/BUILD')
-rw-r--r-- | tensorflow/core/BUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD index 46b72d20d3..9485a2819e 100644 --- a/tensorflow/core/BUILD +++ b/tensorflow/core/BUILD @@ -512,6 +512,7 @@ cc_library( deps = [ ":core_cpu", ":gpu_runtime", + ":sycl_runtime", ], ) @@ -1389,6 +1390,33 @@ tf_cuda_library( alwayslink = 1, ) +cc_library( + name = "sycl_runtime", + srcs = if_not_windows([ + "common_runtime/sycl/sycl_device.cc", + "common_runtime/sycl/sycl_device_context.cc", + "common_runtime/sycl/sycl_device_factory.cc", + ]), + hdrs = if_not_windows([ + "common_runtime/sycl/sycl_device.h", + "common_runtime/sycl/sycl_device_context.h", + ]), + copts = tf_copts(), + linkstatic = 1, + deps = [ + ":core_cpu", + ":core_cpu_internal", + ":framework", + ":framework_internal", + ":lib", + ":lib_internal", + ":protos_all_cc", + "//third_party/eigen3", + #"@local_config_sycl//sycl:sycl", + ], + alwayslink = 1, +) + # ----------------------------------------------------------------------------- # Tests |