use cubecl_core as cubecl;
use cubecl_core::prelude::CubeType;
#[derive(Copy, Clone, CubeType)]
pub enum StageBuffer {
A,
B,
}
impl StageBuffer {
pub fn to_index(&self) -> u32 {
match self {
StageBuffer::A => 0,
StageBuffer::B => 1,
}
}
}
#[derive(CubeType, Clone)]
pub struct TaskCounter {
#[cube(comptime)]
pub counter: u32,
}