Skip to content

Commit 0721433

Browse files
Sanjoy Dastensorflower-gardener
Sanjoy Das
authored andcommitted
Make error message more readable.
PiperOrigin-RevId: 210627075
1 parent ab4ae7e commit 0721433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/compiler/xla/service/gpu/buffer_allocations.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ StatusOr<std::unique_ptr<BufferAllocations>> BufferAllocations::Builder::Build(
8383
0) {
8484
return InternalError(
8585
"Address returned by memory_allocator->Allocate must be a "
86-
"multiple of %x, but was %p",
86+
"multiple of 0x%x, but was %p",
8787
kXlaAllocatedBufferAlignBytes, buffer.opaque());
8888
}
8989
// We do manual memory management within BufferAllocations. Be sure not

0 commit comments

Comments
 (0)