Skip to main content

spawn_gpu_thread

Function spawn_gpu_thread 

Source
pub fn spawn_gpu_thread(
    worker: Arc<GpuWorker>,
    job_rx: Receiver<GpuJob>,
) -> JoinHandle<()>
Expand description

Spawn the dedicated OS thread for a GPU worker. Returns the JoinHandle (caller should keep it alive).