diff --git a/include/ck/utility/sequence.hpp b/include/ck/utility/sequence.hpp index 25dae4e335..99935a6d8d 100644 --- a/include/ck/utility/sequence.hpp +++ b/include/ck/utility/sequence.hpp @@ -256,6 +256,18 @@ struct arithmetic_sequence_gen using type = typename conditional::type; }; +template +struct arithmetic_sequence_gen<0, IEnd, 1> +{ + template + struct WrapSequence + { + using type = Sequence; + }; + // https://reviews.llvm.org/D13786 + using type = typename __make_integer_seq::type; +}; + // uniform sequence template struct uniform_sequence_gen