Skip to content

Commit

Permalink
fix: rocm types
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Dec 18, 2024
1 parent 45c489b commit 3fdd5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_ROCM_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ struct ScopedRocfftPlan {
const std::vector<int> &out_extents,
const std::vector<int> &fft_extents, int howmany,
Direction direction, bool is_inplace) {
ScopedRocfftPlanDescription scoped_description;

auto [in_array_type, out_array_type, fft_direction] =
get_in_out_array_type(transform_type, direction);

Expand All @@ -101,6 +99,8 @@ struct ScopedRocfftPlan {
auto reversed_fft_extents =
convert_int_type_and_reverse<int, std::size_t>(fft_extents);

// Create a plan description
ScopedRocfftPlanDescription scoped_description;
rocfft_status status = rocfft_plan_description_set_data_layout(
scoped_description.description(), // description handle
in_array_type, // input array type
Expand Down

0 comments on commit 3fdd5bf

Please sign in to comment.