From c57b04baea872078bfb5b4af1165c7584fd3a95b Mon Sep 17 00:00:00 2001 From: macurtis-amd Date: Tue, 5 Nov 2024 10:40:43 -0600 Subject: [PATCH] Fix clang compilation error: missing-template-arg-list-after-template-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. --- .../device/detail/device_radix_sort.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rocprim/include/rocprim/device/detail/device_radix_sort.hpp b/rocprim/include/rocprim/device/detail/device_radix_sort.hpp index 4bfa2e33f..25bae4060 100644 --- a/rocprim/include/rocprim/device/detail/device_radix_sort.hpp +++ b/rocprim/include/rocprim/device/detail/device_radix_sort.hpp @@ -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