openxla / xla

A machine learning compiler for GPUs, CPUs, and ML accelerators
Apache License 2.0
2.39k stars 356 forks source link

Fix build issue in xla/hlo/utils/hlo_sharding_util_test.cc #14255

Open apivovarov opened 3 days ago

apivovarov commented 3 days ago

This PR fixes the following build error in xla/hlo/utils/hlo_sharding_util_test.cc (used GCC-13):

xla/hlo/utils/hlo_sharding_util_test.cc:538:41: error: call of overloaded 'TileAssignment(<brace-enclosed initializer list>)' is ambiguous
  538 |   TileAssignment tile_assignment({16, 4});

Reed, can you look at this build fix too? @reedwm

apivovarov commented 3 days ago

@akuegel Can you look at this build fix?

reedwm commented 3 days ago

Also the rocm build failure is spurious, ignore it.

apivovarov commented 2 days ago