Layout API propagation across PJRT C-APIs

39 views
Skip to first unread message

Devesh Ratho

unread,
Nov 5, 2024, 9:53:31 PMNov 5
to OpenXLA Discuss
Hello everyone,

I'm trying to understand the propagation of Layout information across PJRT C-APIs.
My current understanding is that PJRT_Compile has access to layout information via PJRT_Program (via the input mlir module).
For the stream executor client, layout information is associated with buffers via CreateBuffersForAsyncHostToDevice, but this API is not supported for the C-API client. How is device layout information propagated to other APIs, such as BufferFromHostBuffer, that have access to layout information?

Thanks,
Devesh
Reply all
Reply to author
Forward
0 new messages