From edab67673f3d2654265d581b49e9dec2c76525a2 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Mon, 6 Jan 2025 14:42:39 +0900 Subject: [PATCH] remove static from init and cleanup methods --- fft/src/KokkosFFT_FFTW_Types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fft/src/KokkosFFT_FFTW_Types.hpp b/fft/src/KokkosFFT_FFTW_Types.hpp index 7e739d66..9bf434d6 100644 --- a/fft/src/KokkosFFT_FFTW_Types.hpp +++ b/fft/src/KokkosFFT_FFTW_Types.hpp @@ -131,7 +131,7 @@ struct ScopedFFTWPlan { return global_id++; } - static void init_threads([[maybe_unused]] const ExecutionSpace &exec_space) { + void init_threads([[maybe_unused]] const ExecutionSpace &exec_space) { #if defined(KOKKOS_ENABLE_OPENMP) || defined(KOKKOS_ENABLE_THREADS) if constexpr (std::is_same_v) { @@ -148,7 +148,7 @@ struct ScopedFFTWPlan { #endif } - static void cleanup_threads() { + void cleanup_threads() { #if defined(KOKKOS_ENABLE_OPENMP) || defined(KOKKOS_ENABLE_THREADS) if constexpr (std::is_same_v) {