Upgrade clang-tidy on CI. (#5469)
* Correct all clang-tidy errors. * Upgrade clang-tidy to 10 on CI. Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -133,8 +133,9 @@ class Transform {
|
||||
template <typename std::enable_if<CompiledWithCuda>::type* = nullptr,
|
||||
typename... HDV>
|
||||
void LaunchCUDA(Functor _func, HDV*... _vectors) const {
|
||||
if (shard_)
|
||||
if (shard_) {
|
||||
UnpackShard(device_, _vectors...);
|
||||
}
|
||||
|
||||
size_t range_size = *range_.end() - *range_.begin();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user