Module cubecl_runtime::channel

source ·
Expand description

Compute channel module.

Structs§

  • Create a channel using a [multi-producer, single-consumer channel to communicate with the compute server spawn on its own thread.
  • The MutexComputeChannel ensures thread-safety by locking the server on every operation
  • A channel using a ref cell to access the server with mutability.

Traits§

  • The ComputeChannel trait links the ComputeClient to the ComputeServer while ensuring thread-safety