#![cfg_attr(docsrs, feature(doc_auto_cfg))]
extern crate alloc;
#[cfg(target_os = "linux")]
use burn_jit::JitBackend;
#[cfg(target_os = "linux")]
pub use cubecl::hip::HipDevice;
#[cfg(target_os = "linux")]
use cubecl::hip::HipRuntime;
#[cfg(target_os = "linux")]
#[cfg(not(feature = "fusion"))]
pub type Hip<F = f32, I = i32, B = u8> = JitBackend<HipRuntime, F, I, B>;
#[cfg(target_os = "linux")]
#[cfg(feature = "fusion")]
pub type Hip<F = f32, I = i32, B = u8> = burn_fusion::Fusion<JitBackend<HipRuntime, F, I, B>>;