Skip to content

Commit

Permalink
Fix clang compilation error: missing-template-arg-list-after-template…
Browse files Browse the repository at this point in the history
…-kw (#627)

Full text of error:

  a template argument list is expected after a name prefixed by the template
  keyword [-Wmissing-template-arg-list-after-template-kw]

Found while testing a recent build of clang 20, though I think clang 19 will
also complain.
  • Loading branch information
macurtis-amd authored Nov 5, 2024
1 parent ccc5954 commit c57b04b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions rocprim/include/rocprim/device/detail/device_radix_sort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,15 @@ ROCPRIM_DEVICE ROCPRIM_FORCE_INLINE void sort_single(KeysInputIterator keys_i

ROCPRIM_SHARED_MEMORY typename sort_single_helper::storage_type storage;

sort_single_helper().template sort_single(keys_input,
keys_output,
values_input,
values_output,
size,
decomposer,
bit,
current_radix_bits,
storage);
sort_single_helper().template sort_single<>(keys_input,
keys_output,
values_input,
values_output,
size,
decomposer,
bit,
current_radix_bits,
storage);
}

template<class T>
Expand Down

0 comments on commit c57b04b

Please sign in to comment.