Skip to content

Commit

Permalink
fix KokkosFFT_ROCM_types.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Jan 2, 2025
1 parent 28d9891 commit c7dd94d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fft/src/KokkosFFT_ROCM_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ struct ScopedRocfftPlan {

void commit(const Kokkos::HIP &exec_space) {
std::size_t workbuffersize = 0;
status = rocfft_plan_get_work_buffer_size(m_plan, &workbuffersize);
rocfft_status status =
rocfft_plan_get_work_buffer_size(m_plan, &workbuffersize);
KOKKOSFFT_THROW_IF(status != rocfft_status_success,
"rocfft_plan_get_work_buffer_size failed");

Expand Down

0 comments on commit c7dd94d

Please sign in to comment.