Skip to content

Commit

Permalink
Remove the use of gpu_activation.h in rocm code.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 674349645
  • Loading branch information
klucke authored and Google-ML-Automation committed Sep 13, 2024
1 parent e2110ae commit 571cedd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions xla/stream_executor/rocm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ cc_library(
":rocblas_if_static",
":rocm_executor",
":rocm_platform_id",
"//xla/stream_executor/gpu:gpu_activation",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"//xla/tsl/util:determinism_for_kernels",
Expand Down Expand Up @@ -358,7 +357,6 @@ cc_library(
"//xla/stream_executor",
"//xla/stream_executor:fft",
"//xla/stream_executor:plugin_registry",
"//xla/stream_executor/gpu:gpu_activation",
"//xla/stream_executor/gpu:gpu_executor_header",
"//xla/stream_executor/gpu:gpu_helpers_header",
"//xla/stream_executor/gpu:gpu_kernel_header",
Expand Down Expand Up @@ -410,11 +408,11 @@ cc_library(
"//xla/stream_executor:dnn",
"//xla/stream_executor:event_based_timer",
"//xla/stream_executor:plugin_registry",
"//xla/stream_executor/gpu:gpu_activation",
"//xla/stream_executor/gpu:gpu_driver_header",
"//xla/stream_executor/gpu:gpu_executor_header",
"//xla/stream_executor/gpu:gpu_stream_header",
"//xla/stream_executor/gpu:gpu_types_header",
"//xla/stream_executor/gpu:scoped_activate_context",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"//xla/tsl/util:determinism_for_kernels",
Expand Down Expand Up @@ -569,7 +567,6 @@ cc_library(
"//xla/stream_executor:blas",
"//xla/stream_executor:event_based_timer",
"//xla/stream_executor:host_or_device_scalar",
"//xla/stream_executor/gpu:gpu_activation",
"//xla/stream_executor/gpu:gpu_blas_lt",
"//xla/stream_executor/gpu:gpu_helpers_header",
"//xla/stream_executor/gpu:gpu_stream_header",
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocblas_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ limitations under the License.

#include "rocm/include/rocblas/rocblas.h"
#include "rocm/rocm_config.h"
#include "xla/stream_executor/gpu/gpu_activation.h"
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"
Expand Down
2 changes: 1 addition & 1 deletion xla/stream_executor/rocm/rocm_dnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ limitations under the License.
#include "rocm/rocm_config.h"
#include "xla/stream_executor/dnn.h"
#include "xla/stream_executor/event_based_timer.h"
#include "xla/stream_executor/gpu/gpu_activation.h"
#include "xla/stream_executor/gpu/gpu_driver.h"
#include "xla/stream_executor/gpu/gpu_executor.h"
#include "xla/stream_executor/gpu/gpu_stream.h"
#include "xla/stream_executor/gpu/scoped_activate_context.h"
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/initialize.h"
#include "xla/stream_executor/plugin_registry.h"
Expand Down

0 comments on commit 571cedd

Please sign in to comment.