mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
[rocm-libraries] ROCm/rocm-libraries#4407 (commit adde219)
[CK][CK TILE] Add has hot loop check for pipeline v1 ## Motivation Add has hot loop check for pipeline v1 (v1 basic and v1 basic async). Enable more tests which have been fixed by this change. ## Technical Details Hot loop has been executed without num loop check. ## Test Plan test_grouped_convnd_fwd_tile ## Test Result Passed ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. AICK-651 AICK-663
This commit is contained in:
committed by
assistant-librarian[bot]
parent
e88f139c6c
commit
2dd2f114b3
@@ -53,7 +53,7 @@ void init_tensor_buffer_uniform_int(void* buf,
|
||||
using ck_type = factory::internal::DataTypeToCK<DT>::type;
|
||||
|
||||
// we might be asked to generate int values on fp data types that don't have the required
|
||||
// precision
|
||||
// precision. Check using >= and <= because == is not allowed for floats.
|
||||
if(static_cast<ck_type>(max_value - 1) <= static_cast<ck_type>(min_value) &&
|
||||
static_cast<ck_type>(max_value - 1) >= static_cast<ck_type>(min_value))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user