Skip to content

Commit

Permalink
Fix typo in warp_size_checked
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Nov 19, 2024
1 parent d5aa39a commit 5dbac6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cubecl-cpp/src/shared/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct CppCompiler<D: Dialect> {
const_arrays: Vec<ConstArray<D>>,
local_arrays: Vec<LocalArray<D>>,
metadata: cubecl_core::Metadata,
wrap_size_checked: bool,
warp_size_checked: bool,
wmma: bool,
bf16: bool,
f16: bool,
Expand Down Expand Up @@ -110,7 +110,7 @@ impl<D: Dialect> CppCompiler<D> {
shared_memories: self.shared_memories,
const_arrays: self.const_arrays,
local_arrays: self.local_arrays,
warp_size_checked: self.wrap_size_checked,
warp_size_checked: self.warp_size_checked,
settings: self.settings,
};

Expand Down Expand Up @@ -214,7 +214,7 @@ impl<D: Dialect> CppCompiler<D> {
gpu::Synchronization::SyncStorage => instructions.push(Instruction::SyncThreads),
},
gpu::Operation::Plane(op) => {
self.wrap_size_checked = true;
self.warp_size_checked = true;
let out = self.compile_variable(out.unwrap());
match op {
gpu::Plane::Sum(op) => {
Expand Down

0 comments on commit 5dbac6c

Please sign in to comment.