mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-07-22 11:46:26 +03:00
19 lines
523 B
Rust
19 lines
523 B
Rust
mod r#impl;
|
|
|
|
macro_rules! unimplemented {
|
|
($($abi:literal fn $fn_name:ident( $($arg_id:ident : $arg_type:ty),* ) -> $ret_type:ty;)*) => {
|
|
$(
|
|
#[cfg_attr(not(test), no_mangle)]
|
|
#[allow(improper_ctypes)]
|
|
#[allow(improper_ctypes_definitions)]
|
|
pub unsafe extern $abi fn $fn_name ( $( $arg_id : $arg_type),* ) -> $ret_type {
|
|
crate::r#impl::unimplemented()
|
|
}
|
|
)*
|
|
};
|
|
}
|
|
|
|
cuda_base::cufft_function_declarations!(
|
|
unimplemented
|
|
);
|