pub(crate) mod capture;
pub(crate) mod communication;
pub(crate) mod context;
pub(crate) mod driver;
pub(crate) mod events;
pub(crate) mod storage;
pub(crate) mod stream;
mod server;
pub use server::*;
pub(crate) type Command<'a> = cubecl_server::command::Command<'a, driver::Cuda>;
pub(crate) type Captures = cubecl_server::command::Captures<driver::Cuda>;
pub(crate) type Window<'c, 'a> = cubecl_server::command::Window<'c, 'a, driver::Cuda>;
#[allow(clippy::uninit_vec)]
pub unsafe fn uninit_vec<I>(len: usize) -> Vec<I> {
let mut data = Vec::with_capacity(len);
unsafe {
data.set_len(len);
};
data
}