spqlios basic wrapper

This commit is contained in:
Jean-Philippe Bossuat
2025-01-26 12:26:44 +01:00
parent 7e9a9501b5
commit 06e4e58b2d
201 changed files with 30406 additions and 3 deletions

9
spqlios/tests/module.rs Normal file
View File

@@ -0,0 +1,9 @@
use spqlios::bindings::{module_info_t, module_type_t_FFT64};
use spqlios::module::create_module;
#[test]
fn test_new_module_info() {
let N: u64 = 1024;
let module_ptr: *mut module_info_t = create_module(N, module_type_t_FFT64);
assert!(!module_ptr.is_null());
}