My NPU’s runtime library provides the interface to import dma-buf memory (exported by hardware drivers as file descriptors in userspace) to achieve zero-copy data transfer. My custom BYOC runtime class is derived from the JSONRuntimeBase
, what is the proper way to pass external dma-buf file descriptors to my runtime? Should I implement a custom DeviceAPI
for that?
1 Like