Skip to content

Commit 1983e16

Browse files
committed
Do not use std::remove_cvref_t, does not exist in C++17, use custom one.
1 parent 4df4747 commit 1983e16

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v7r3.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ struct ThreadwiseTensorSliceTransfer_v7r3
286286

287287
static_for<0, nDst, 1>{}([&](auto i) {
288288
using elm_vector_t = typename remove_cvref_t<decltype(elm_vectors[i])>::type;
289-
using scalar_t = std::remove_cvref_t<
290-
decltype(elm_vectors(i).template AsType<elm_vector_t>()[I0])>;
289+
using scalar_t =
290+
remove_cvref_t<decltype(elm_vectors(i).template AsType<elm_vector_t>()[I0])>;
291291

292292
// This is a bit ugly but necessary to be able to compile f8 instances for grouped
293293
// convolution forward. For some reason for that specific type there is an ambiguity

0 commit comments

Comments
 (0)