Skip to content

Commit

Permalink
Remove unneeded dso_loader.h include from ROCM files.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681180270
  • Loading branch information
klucke authored and Google-ML-Automation committed Oct 1, 2024
1 parent 8670654 commit b30b420
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 25 deletions.
14 changes: 0 additions & 14 deletions xla/stream_executor/rocm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ cc_library(
"//xla/stream_executor/gpu:gpu_driver_header",
"//xla/stream_executor/gpu:scoped_activate_context",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@com_google_absl//absl/base",
"@com_google_absl//absl/container:inlined_vector",
"@com_google_absl//absl/container:node_hash_map",
Expand Down Expand Up @@ -112,7 +111,6 @@ cc_library(
"//xla/stream_executor/gpu:context",
"//xla/stream_executor/gpu:gpu_driver_header",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:node_hash_map",
"@com_google_absl//absl/log",
Expand Down Expand Up @@ -195,7 +193,6 @@ cc_library(
"//xla/stream_executor/gpu:read_numa_node",
"//xla/stream_executor/integrations:device_mem_allocator",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@com_google_absl//absl/base",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:flat_hash_map",
Expand Down Expand Up @@ -353,7 +350,6 @@ cc_library(
":rocm_executor",
":rocm_platform_id",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"//xla/tsl/util:determinism_for_kernels",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform",
Expand Down Expand Up @@ -395,7 +391,6 @@ cc_library(
"//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_hdr_lib",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/status",
Expand Down Expand Up @@ -449,7 +444,6 @@ cc_library(
"//xla/stream_executor/gpu:gpu_stream_header",
"//xla/stream_executor/gpu:scoped_activate_context",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
"@tsl//tsl/platform:logging",
Expand Down Expand Up @@ -506,7 +500,6 @@ cc_library(
"//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",
"//xla/tsl/util:env_var",
"@com_google_absl//absl/algorithm:container",
Expand Down Expand Up @@ -570,7 +563,6 @@ cc_library(
":rocm_executor",
":rocm_platform_id",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
],
Expand Down Expand Up @@ -607,7 +599,6 @@ cc_library(
":rocm_platform_id",
":rocsolver_if_static",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
],
Expand Down Expand Up @@ -643,7 +634,6 @@ cc_library(
":rocm_executor",
":rocm_platform_id",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
],
Expand Down Expand Up @@ -699,7 +689,6 @@ cc_library(
"//xla/stream_executor/gpu:gpu_stream_header",
"//xla/stream_executor/gpu:scoped_activate_context",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@com_google_absl//absl/status",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
Expand Down Expand Up @@ -734,7 +723,6 @@ cc_library(
"//xla/stream_executor/gpu:gpu_blas_lt",
"//xla/stream_executor/gpu:gpu_executor_header",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@com_google_absl//absl/status",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform:env",
Expand Down Expand Up @@ -797,7 +785,6 @@ cc_library(
":rocm_platform_id",
":roctracer_if_static",
"//xla/stream_executor/platform",
"//xla/stream_executor/platform:dso_loader",
"@local_config_rocm//rocm:rocm_headers",
"@tsl//tsl/platform",
"@tsl//tsl/platform:env",
Expand Down Expand Up @@ -881,7 +868,6 @@ cc_library(
"//xla/stream_executor:scratch_allocator",
"//xla/stream_executor/cuda:cuda_platform_id",
"//xla/stream_executor/host:host_platform_id",
"//xla/stream_executor/platform:dso_loader",
"//xla/stream_executor/rocm:rocm_platform_id",
] + if_static(
[":all_runtime"],
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/hipblaslt_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ limitations under the License.
#else
#include "rocm/include/hipblaslt.h"
#endif
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"

Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/hipsolver_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ limitations under the License.

#include "rocm/include/hipsolver.h"
#endif
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"

Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/hipsparse_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ limitations under the License.
#else
#include "rocm/include/hipsparse.h"
#endif
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/platform.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"
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/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"
#include "tsl/platform/platform.h"
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocm_blas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ limitations under the License.
#include "xla/stream_executor/gpu/gpu_stream.h"
#include "xla/stream_executor/gpu/gpu_types.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/platform/port.h"
#include "xla/stream_executor/plugin_registry.h"
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocm_dnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ limitations under the License.
#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"
#include "xla/stream_executor/rocm/rocm_diagnostics.h"
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocm_driver_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ limitations under the License.

#include "rocm/include/hip/hip_runtime.h"
#include "rocm/rocm_config.h"
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"

Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocm_executor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ limitations under the License.
#include "xla/stream_executor/launch_dim.h"
#include "xla/stream_executor/module_spec.h"
#include "xla/stream_executor/platform.h"
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/initialize.h"
#include "xla/stream_executor/platform/port.h"
#include "xla/stream_executor/plugin_registry.h"
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocm_fft.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ limitations under the License.
#include "xla/stream_executor/gpu/gpu_helpers.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/platform/port.h"
#include "xla/stream_executor/plugin_registry.h"
Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/rocsolver_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ limitations under the License.
#include "rocm/include/rocsolver.h"
#endif

#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"

Expand Down
1 change: 0 additions & 1 deletion xla/stream_executor/rocm/roctracer_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ limitations under the License.
#else
#include "rocm/include/roctracer/roctracer_hcc.h"
#endif
#include "xla/stream_executor/platform/dso_loader.h"
#include "xla/stream_executor/platform/port.h"
#include "tsl/platform/env.h"
#include "tsl/platform/platform.h"
Expand Down

0 comments on commit b30b420

Please sign in to comment.