Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
eaplatanios committed Jul 30, 2024
1 parent edcc97a commit cec2448
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions xla/pjrt/gpu/se_gpu_pjrt_compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,13 @@ StreamExecutorGpuCompiler::Compile(CompileOptions options,

#if TENSORFLOW_USE_ROCM
STREAM_EXECUTOR_REGISTER_MODULE_INITIALIZER(pjrt_register_se_gpu_compiler, {
PjRtRegisterCompiler(
RocmName(),
std::make_unique<StreamExecutorGpuCompiler>());
PjRtRegisterCompiler(RocmName(),
std::make_unique<StreamExecutorGpuCompiler>());
});
#else
STREAM_EXECUTOR_REGISTER_MODULE_INITIALIZER(pjrt_register_se_gpu_compiler, {
PjRtRegisterCompiler(
CudaName(),
std::make_unique<StreamExecutorGpuCompiler>());
PjRtRegisterCompiler(CudaName(),
std::make_unique<StreamExecutorGpuCompiler>());
});
#endif
} // namespace xla

0 comments on commit cec2448

Please sign in to comment.