Skip to content

Commit 33484db

Browse files
Added sync
1 parent cfe243e commit 33484db

File tree

1 file changed

+1
-1
lines changed
  • crates/cubecl-runtime/src/channel

1 file changed

+1
-1
lines changed

crates/cubecl-runtime/src/channel/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use alloc::vec::Vec;
1010

1111
/// The ComputeChannel trait links the ComputeClient to the ComputeServer
1212
/// while ensuring thread-safety
13-
pub trait ComputeChannel<Server: ComputeServer>: Send + Clone + core::fmt::Debug {
13+
pub trait ComputeChannel<Server: ComputeServer>: Sync + Send + Clone + core::fmt::Debug {
1414
/// Given a binding, returns owned resource as bytes
1515
fn read(&self, binding: Binding) -> impl Future<Output = Vec<u8>>;
1616

0 commit comments

Comments
 (0)