Use bindgen-cuda for the custom-kernel example. (#1536)

* Use bindgen-cuda for the custom-kernel example.

* Only depend on the kernels when cuda is enabled.

* Skip rustfmt.
This commit is contained in:
Laurent Mazare
2024-01-07 17:18:46 +01:00
committed by GitHub
parent 30313c3081
commit 89b5a06858
4 changed files with 20 additions and 236 deletions

View File

@ -6,7 +6,8 @@
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;
#[allow(unused)]
#[rustfmt::skip]
#[cfg(feature = "cuda")]
mod cuda_kernels;
use clap::Parser;