Add a dummy module.

This commit is contained in:
laurent
2023-06-21 21:16:00 +01:00
parent 97d9142dee
commit 304a557d84
5 changed files with 57 additions and 4 deletions

View File

@ -1,7 +1,7 @@
use crate::{CpuStorage, DType, Result, Shape};
use cudarc::driver::{CudaSlice, LaunchAsync, LaunchConfig};
pub(crate) type Error = cudarc::driver::DriverError;
pub type CudaError = cudarc::driver::DriverError;
#[derive(Debug, Clone)]
pub struct CudaDevice(std::sync::Arc<cudarc::driver::CudaDevice>);