Skip to content

Commit 1baed9b

Browse files
hawkinspjax authors
authored andcommitted
[PJRT:CPU] Replace references to pjrt/tfrt_cpu_pjrt_client with pjrt/cpu/cpu_client.h.
The two are aliases and the former is a forwarding header pointing to the latter. Cleanup only, no functional changes. PiperOrigin-RevId: 621341188
1 parent 318ae89 commit 1baed9b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/jax_cpp/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cc_binary(
2727
"@xla//xla:status",
2828
"@xla//xla:statusor",
2929
"@xla//xla/pjrt:pjrt_client",
30-
"@xla//xla/pjrt:tfrt_cpu_pjrt_client",
30+
"@xla//xla/pjrt/cpu:cpu_client",
3131
"@xla//xla/service:hlo_proto_cc",
3232
"@xla//xla/tools:hlo_module_loader",
3333
"@tsl//tsl/platform:logging",

examples/jax_cpp/main.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ limitations under the License.
2727
//
2828
// To load and run the HloModule,
2929
//
30-
// $ bazel build examples/jax_cpp:main --experimental_repo_remote_exec --check_visibility=false
31-
// $ bazel-bin/examples/jax_cpp/main
32-
// 2021-01-12 15:35:28.316880: I examples/jax_cpp/main.cc:65] result = (
33-
// f32[2,2] {
30+
// $ bazel build examples/jax_cpp:main --experimental_repo_remote_exec \
31+
// --check_visibility=false
32+
// $ bazel-bin/examples/jax_cpp/main 2021-01-12
33+
// 15:35:28.316880: I examples/jax_cpp/main.cc:65] result = ( f32[2,2] {
3434
// { 1.5, 1.5 },
3535
// { 3.5, 3.5 }
3636
// }
@@ -42,8 +42,8 @@ limitations under the License.
4242

4343
#include "xla/literal.h"
4444
#include "xla/literal_util.h"
45+
#include "xla/pjrt/cpu/cpu_client.h"
4546
#include "xla/pjrt/pjrt_client.h"
46-
#include "xla/pjrt/tfrt_cpu_pjrt_client.h"
4747
#include "xla/status.h"
4848
#include "xla/statusor.h"
4949
#include "xla/tools/hlo_module_loader.h"

0 commit comments

Comments
 (0)