Framework_sig.Async_refusedThe refusing implementation of ASYNC, for backends that do not provide it. Every operation raises Feature_not_supported naming the backend and the operation.
module X : sig ... endtype device = X.devicetype stream = X.streamtype event = X.eventtype 'a buffer = 'a X.bufferval support : async_supportAll work enqueued on the stream after this call waits until the work recorded by the event has completed.
val event_query : event -> booltrue once the work recorded by the event has completed (or the event was never recorded); never blocks.
val alloc_pinned : device -> byte_size:int -> nativeintPage-locked host memory of byte_size bytes, returned as a raw address. Released by free_pinned. A backend whose pinned memory belongs to the device (Vulkan: a driver mapping) unmaps it when the device is destroyed; the address is then invalid and only free_pinned may still be called on it.
val free_pinned : device -> nativeint -> unitval register_host : device -> nativeint -> byte_size:int -> unitPage-lock existing host memory for DMA. The caller keeps it alive until unregister_host.
val unregister_host : device -> nativeint -> unit