Enable the doctests to run with mkl (though they are broken for now). (#126)

This commit is contained in:
Laurent Mazare
2023-07-10 16:27:46 +01:00
committed by GitHub
parent 548b1df7ea
commit e2807c78a4
2 changed files with 3 additions and 3 deletions

View File

@ -70,3 +70,6 @@ pub use cuda_backend::{CudaDevice, CudaError, CudaStorage};
#[cfg(not(feature = "cuda"))]
pub use dummy_cuda_backend::{CudaDevice, CudaError, CudaStorage};
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;

View File

@ -1,8 +1,5 @@
#![allow(dead_code)]
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;
use candle::{Result, Tensor};
#[macro_export]