Skip to content

Commit

Permalink
Fix style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Oct 9, 2024
1 parent 3ad157c commit f79fa1d
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions cpp/include/raft/matrix/detail/columnWiseSort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ RAFT_KERNEL devOffsetKernel(T* in, T value, int n_times)
}

// block level radix sort - can only sort as much data we can fit within shared memory
template <
typename InType,
typename OutType,
int BLOCK_SIZE,
int ITEMS_PER_THREAD,
typename std::enable_if_t<TemplateChecker<InType, BLOCK_SIZE>::IsValid, bool> = true>
template <typename InType,
typename OutType,
int BLOCK_SIZE,
int ITEMS_PER_THREAD,
typename std::enable_if_t<TemplateChecker<InType, BLOCK_SIZE>::IsValid, bool> = true>
RAFT_KERNEL __launch_bounds__(1024, 1) devKeyValSortColumnPerRow(const InType* inputKeys,
InType* outputKeys,
OutType* inputVals,
Expand Down Expand Up @@ -120,12 +119,11 @@ RAFT_KERNEL __launch_bounds__(1024, 1) devKeyValSortColumnPerRow(const InType* i
}
}

template <
typename InType,
typename OutType,
int BLOCK_SIZE,
int ITEMS_PER_THREAD,
typename std::enable_if_t<!TemplateChecker<InType, BLOCK_SIZE>::IsValid, bool> = true>
template <typename InType,
typename OutType,
int BLOCK_SIZE,
int ITEMS_PER_THREAD,
typename std::enable_if_t<!TemplateChecker<InType, BLOCK_SIZE>::IsValid, bool> = true>
RAFT_KERNEL devKeyValSortColumnPerRow(const InType* inputKeys,
InType* outputKeys,
OutType* inputVals,
Expand Down

0 comments on commit f79fa1d

Please sign in to comment.