From 49079d0d2a5bdd4b6fd9c119bcc1bf3f950295bd Mon Sep 17 00:00:00 2001 From: VitaliiH Date: Thu, 9 May 2024 10:21:21 +0200 Subject: [PATCH] rust ecntt hotfix (#509) ## Describe the changes This PR fixes Rust ECNTT benches and tests --------- Co-authored-by: VitaliiH --- wrappers/rust/icicle-core/src/ecntt/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrappers/rust/icicle-core/src/ecntt/mod.rs b/wrappers/rust/icicle-core/src/ecntt/mod.rs index e302991d..c0ff939e 100644 --- a/wrappers/rust/icicle-core/src/ecntt/mod.rs +++ b/wrappers/rust/icicle-core/src/ecntt/mod.rs @@ -61,7 +61,7 @@ macro_rules! impl_ecntt { $field, $field_config, ECNTTUnchecked, - "_ecntt_", + "_ecntt", ProjectiveC ); @@ -161,6 +161,7 @@ macro_rules! impl_ecntt_bench { use icicle_core::ntt::ntt; use icicle_core::ntt::NTTDomain; use icicle_cuda_runtime::memory::HostOrDeviceSlice; + use std::env; use std::sync::OnceLock; use criterion::{black_box, criterion_group, criterion_main, Criterion};