Macro comment

Source
comment!() { /* proc-macro */ }
Expand description

Insert a literal comment into the kernel source code.

ยงExample

#use cubecl_macros::cube;
#[cube]
fn do_stuff(input: u32) -> u32 {
    comment!("Add five to the input");
    input + 5
}