fixed datatype error of numeric_limit for uint1b_t (#419)

Co-authored-by: Haojin Yang <haojin.yang@.hpi.uni-potsdam.de>
This commit is contained in:
Haojin Yang 2022-03-22 17:30:30 +01:00 committed by GitHub
parent 095cbba57c
commit bc45e2c023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ struct numeric_limits<cutlass::uint1b_t> {
CUTLASS_HOST_DEVICE CUTLASS_HOST_DEVICE
static cutlass::uint1b_t const lowest() noexcept { return 0;} static cutlass::uint1b_t const lowest() noexcept { return 0;}
CUTLASS_HOST_DEVICE 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; static constexpr bool is_integer = true;
}; };