Skip to main content

Module device

Module device 

Source
Expand description

The device stream of the FFI environment: current_stream and with_stream.

Functions§

current_stream
The current stream of device, as the caller or with_stream set it; null if none is set.
with_stream⚠
Call f with the device stream temporarily set to stream.