cubecl_hip/lib.rs
#[allow(unused_imports)]
#[macro_use]
extern crate derive_new;
extern crate alloc;
#[cfg(target_os = "linux")]
pub mod compute;
#[cfg(target_os = "linux")]
pub mod device;
#[cfg(target_os = "linux")]
pub mod runtime;
#[cfg(target_os = "linux")]
pub use device::*;
#[cfg(target_os = "linux")]
pub use runtime::HipRuntime;
#[cfg(target_os = "linux")]
#[cfg(test)]
mod tests {
pub type TestRuntime = crate::HipRuntime;
cubecl_core::testgen_all!();
cubecl_linalg::testgen_all!();
}