Skip to content

Commit

Permalink
remove static from init and cleanup methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Jan 6, 2025
1 parent 46d2faf commit edab676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_FFTW_Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ExecutionSpace,
Kokkos::DefaultHostExecutionSpace>) {
Expand All @@ -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<ExecutionSpace,
Kokkos::DefaultHostExecutionSpace>) {
Expand Down

0 comments on commit edab676

Please sign in to comment.