diff --git a/include/cutlass/gemm/device/base_grouped.h b/include/cutlass/gemm/device/base_grouped.h index 1b51291d..e5b50f36 100644 --- a/include/cutlass/gemm/device/base_grouped.h +++ b/include/cutlass/gemm/device/base_grouped.h @@ -157,7 +157,7 @@ private: static void reorder_array(T* data, const std::vector& indices) { // For now, simply create a copy of the data and then copy over to the original. std::vector copy(indices.size()); - for (int i = 0; i < indices.size(); ++i) { + for (unsigned i = 0; i < indices.size(); ++i) { copy.at(i) = data[indices[i]]; }