Skip to main content

mlx_stream_thread_local

Type Alias mlx_stream_thread_local 

Source
pub type mlx_stream_thread_local = mlx_stream_thread_local_;
Expand description

A per-thread stream object.

The same thread-local stream can be used from any number of threads; the stream’s GPU command encoder is registered once per thread.

Aliased Type§

#[repr(C)]
pub struct mlx_stream_thread_local { pub ctx: *mut c_void, }

Fields§

§ctx: *mut c_void