From de4a9a85b464f661bb791c18448fe805459ff101 Mon Sep 17 00:00:00 2001 From: Andrew Goodbody Date: Wed, 2 Aug 2023 12:35:12 +0100 Subject: [PATCH] Fix link failure in XLA unit tests XLA unit tests were unable to link due to undefined reference to stream_executor::Stream::BlockHostUntilDone() --- tensorflow/compiler/xla/service/cpu/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow/compiler/xla/service/cpu/BUILD b/tensorflow/compiler/xla/service/cpu/BUILD index 72737837397332..55e4e99a492507 100644 --- a/tensorflow/compiler/xla/service/cpu/BUILD +++ b/tensorflow/compiler/xla/service/cpu/BUILD @@ -397,6 +397,7 @@ cc_library( "//tensorflow/compiler/xla/service:executable", "//tensorflow/compiler/xla/service:llvm_compiler", "//tensorflow/compiler/xla/stream_executor", + "//tensorflow/compiler/xla/stream_executor:stream_executor_pimpl", # fixdeps: keep "//tensorflow/compiler/xla/stream_executor/host:host_platform_id", "@llvm-project//llvm:Target", ],