Skip to content

Commit

Permalink
OpenMPTarget: FunctorAdapter bug in AMD GPU code path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahulkumar Gayatri committed Aug 9, 2024
1 parent 42e0d41 commit b2a31e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class ParallelScan<FunctorType, Kokkos::RangePolicy<Traits...>,
#if defined(KOKKOS_ARCH_AMD_GPU) && !defined(KOKKOS_ARCH_AMD_GFX1030) && \
!defined(KOKKOS_ARCH_AMD_GFX1100) && !defined(KOKKOS_ARCH_AMD_GFX1103)
if constexpr (Analysis::Reducer::has_join_member_function()) {
a_functor.join(local_offset_value, offset_value);
a_functor.get_functor().join(local_offset_value, offset_value);
} else
local_offset_value += offset_value;
#else
Expand Down

0 comments on commit b2a31e8

Please sign in to comment.