diff --git a/third_party/xla/xla/service/gpu/BUILD b/third_party/xla/xla/service/gpu/BUILD index 53096a48bc7f61..bad878fb42a62c 100644 --- a/third_party/xla/xla/service/gpu/BUILD +++ b/third_party/xla/xla/service/gpu/BUILD @@ -2927,6 +2927,7 @@ cc_library( ":gpu_fused_mha_runner", ":cublas_cudnn", ":stream_executor_util", + "@com_google_absl//absl/container:flat_hash_map", "@com_google_absl//absl/log", "@com_google_absl//absl/log:check", "@com_google_absl//absl/container:flat_hash_set", diff --git a/third_party/xla/xla/service/gpu/fusions/BUILD b/third_party/xla/xla/service/gpu/fusions/BUILD index 32778f9287ca67..cb932e995d9db8 100644 --- a/third_party/xla/xla/service/gpu/fusions/BUILD +++ b/third_party/xla/xla/service/gpu/fusions/BUILD @@ -708,6 +708,7 @@ xla_test( "//xla/stream_executor:stream_executor_headers", "//xla/stream_executor:stream_executor_memory_allocator", "//xla/tests:filecheck", + "//xla/tests:verified_hlo_module", "@com_google_absl//absl/status:statusor", "@com_google_absl//absl/strings", "@com_google_googletest//:gtest_main", diff --git a/third_party/xla/xla/service/gpu/fusions/cudnn_test.cc b/third_party/xla/xla/service/gpu/fusions/cudnn_test.cc index df80683e797fcd..051040693daed4 100644 --- a/third_party/xla/xla/service/gpu/fusions/cudnn_test.cc +++ b/third_party/xla/xla/service/gpu/fusions/cudnn_test.cc @@ -13,8 +13,12 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ +#include #include +#include +#include +#include #include #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" @@ -36,6 +40,7 @@ limitations under the License. #include "xla/stream_executor/stream_executor_memory_allocator.h" #include "xla/stream_executor/stream_executor_pimpl.h" #include "xla/tests/filecheck.h" +#include "xla/tests/verified_hlo_module.h" #include "xla/xla.pb.h" #include "xla/xla_data.pb.h" #include "tsl/lib/core/status_test_util.h"