diff --git a/crates/cubecl-core/tests/error/for_loop_range.stderr b/crates/cubecl-core/tests/error/for_loop_range.stderr index 947b58172..0a31e86c0 100644 --- a/crates/cubecl-core/tests/error/for_loop_range.stderr +++ b/crates/cubecl-core/tests/error/for_loop_range.stderr @@ -1,4 +1,4 @@ -error: Invalid for loop: use [range](cubecl::prelude::range] instead. +error: Invalid for loop: use [range](cubecl::prelude::range] or [range_stepped](cubecl::prelude::range_stepped) instead. --> tests/error/for_loop_range.rs:6:14 | 6 | for _ in 0..10 {} diff --git a/crates/cubecl-macros/src/codegen_function/branch.rs b/crates/cubecl-macros/src/codegen_function/branch.rs index bdadef0bb..0305aff54 100644 --- a/crates/cubecl-macros/src/codegen_function/branch.rs +++ b/crates/cubecl-macros/src/codegen_function/branch.rs @@ -15,11 +15,11 @@ use super::{ /// Codegen of for loops /// Supports range: -/// ```norun +/// ```ignore /// for i in range(start, end, unroll) {...} /// ``` /// and range_stepped: -/// ```norun +/// ```ignore /// for i in range_stepped(start, end, step, unroll) {...} /// ``` pub(crate) fn codegen_for_loop( diff --git a/crates/cubecl-wgpu/src/compiler/wgsl/shader.rs b/crates/cubecl-wgpu/src/compiler/wgsl/shader.rs index 1fe966f3f..cf42386db 100644 --- a/crates/cubecl-wgpu/src/compiler/wgsl/shader.rs +++ b/crates/cubecl-wgpu/src/compiler/wgsl/shader.rs @@ -228,7 +228,7 @@ impl Display for Location { impl Display for Visibility { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - // With the dynamic memory strategy we have to put everywhing read_write. + // With the dynamic memory strategy we have to put everything read_write. #[cfg(not(simple_memory_management))] Visibility::Read => f.write_str("read_write"), // With the simple memory strategy we can use the correct visibility.