Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bokutotu committed May 28, 2024
1 parent 064e8a5 commit aa86f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion zenu-cuda/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pub mod runtime;
use std::{ptr::NonNull, sync::Mutex};

use cublas::cublas_error::ZenuCublasError;
use cudnn::error::ZenuCudnnError;
use once_cell::sync::Lazy;
use zenu_cublas_sys::{cublasContext, cublasCreate_v2, cublasDestroy_v2};
use zenu_cudnn_sys::{cudnnContext, cudnnCreate, cudnnDestroy};
Expand Down
4 changes: 2 additions & 2 deletions zenu-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ macro_rules! run_mat_test {
($test_func:ident, $cpu_name:ident, $gpu_name:ident) => {
#[test]
fn $cpu_name() {
$test_func::<crate::device::cpu::Cpu>();
$test_func::<$crate::device::cpu::Cpu>();
}
#[cfg(feature = "nvidia")]
#[test]
fn $gpu_name() {
$test_func::<crate::device::nvidia::Nvidia>();
$test_func::<$crate::device::nvidia::Nvidia>();
}
};
}

0 comments on commit aa86f2b

Please sign in to comment.