More int4 tests. (#374)

* More int4 UT.

* Disable BitwiseRepresentation UT.

* Add UT with static_cast

* Surround cout statements with #if

Co-authored-by: Adam Osewski <aosewski@amd.com>

[ROCm/composable_kernel commit: 57fadf6fb9]
This commit is contained in:
Adam Osewski
2022-08-26 00:20:23 +02:00
committed by GitHub
parent 6a02665d94
commit 65674d55df
2 changed files with 171 additions and 4 deletions

View File

@@ -1046,11 +1046,11 @@ struct NumericLimits<half_t>
template <>
struct NumericLimits<int4_t>
{
__host__ __device__ static constexpr int4_t Min() { return int4_t(-7); }
__host__ __device__ static constexpr int4_t Min() { return int4_t(-8); }
__host__ __device__ static constexpr int4_t Max() { return int4_t(7); }
__host__ __device__ static constexpr int4_t Lowest() { return int4_t(-7); }
__host__ __device__ static constexpr int4_t Lowest() { return int4_t(-8); }
};
#endif // CK_EXPERIMENTAL_BIT_INT_EXTENSION_INT4