Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Aug 19, 2024
1 parent b99e753 commit 7308828
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cubecl-core/src/ir/synchronization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ use serde::{Deserialize, Serialize};
pub enum Synchronization {
// Synchronizize units in a cube.
SyncUnits,
SyncStorage
SyncStorage,
}
4 changes: 2 additions & 2 deletions crates/cubecl-wgpu/src/compiler/wgsl/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ impl WgslCompiler {
match synchronization {
cube::Synchronization::SyncUnits => {
instructions.push(wgsl::Instruction::WorkgroupBarrier)
},
cube::Synchronization::SyncStorage=> {
}
cube::Synchronization::SyncStorage => {
instructions.push(wgsl::Instruction::StorageBarrier)
}
};
Expand Down

0 comments on commit 7308828

Please sign in to comment.