pub fn is_gpu_buffer_available() -> boolExpand description
Portable probe for the platform’s native zero-copy GPU buffer
allocator (DMA-BUF on Linux, IOSurface on macOS). Returns false on
Windows and other platforms with no equivalent. Use this when writing
cross-platform code that cares whether the Dma tensor variant will
work, not which underlying mechanism is used.