From bc45e2c02302b29348a3bc129ec4d7e804d19e44 Mon Sep 17 00:00:00 2001 From: Haojin Yang Date: Tue, 22 Mar 2022 17:30:30 +0100 Subject: [PATCH] fixed datatype error of numeric_limit for uint1b_t (#419) Co-authored-by: Haojin Yang --- include/cutlass/integer_subbyte.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cutlass/integer_subbyte.h b/include/cutlass/integer_subbyte.h index 689fee14..38ebc816 100644 --- a/include/cutlass/integer_subbyte.h +++ b/include/cutlass/integer_subbyte.h @@ -225,7 +225,7 @@ struct numeric_limits { CUTLASS_HOST_DEVICE static cutlass::uint1b_t const lowest() noexcept { return 0;} CUTLASS_HOST_DEVICE - static cutlass::uint4b_t const max() noexcept { return 1;} + static cutlass::uint1b_t const max() noexcept { return 1;} static constexpr bool is_integer = true; };