Add couple configs into generator.py for mixed input MM (#1350)
* Add couple configs into generator.py for mixed input MM * change one unit test name; reenable 128x32 in the profiler * Added U8/BF16 tests. --------- Co-authored-by: Haicheng Wu <haichengw@nvidia.com> Co-authored-by: Haicheng Wu <57973641+hwu36@users.noreply.github.com>
This commit is contained in:
co-authored by
Haicheng Wu
Haicheng Wu
parent
865be73a97
commit
3f084f7f3c
@@ -112,8 +112,13 @@ struct TestbedUniversal {
|
||||
scope_max = is_unsigned_int ? 2 : 1;
|
||||
scope_min = is_unsigned_int ? 0 : -1;
|
||||
} else if (bits_output == 16) {
|
||||
scope_max = is_unsigned_int ? 10 : 5;
|
||||
scope_min = is_unsigned_int ? 0 : -5;
|
||||
constexpr auto u8_bf16 =
|
||||
(cutlass::platform::is_same<ElementA, uint8_t>::value &&
|
||||
cutlass::platform::is_same<ElementB, cutlass::bfloat16_t>::value) ||
|
||||
(cutlass::platform::is_same<ElementA, cutlass::bfloat16_t>::value &&
|
||||
cutlass::platform::is_same<ElementB, uint8_t>::value);
|
||||
scope_max = is_unsigned_int ? 10 : (u8_bf16 ? 3 : 5);
|
||||
scope_min = is_unsigned_int ? 0 : (u8_bf16 ? -3 : -5);
|
||||
} else {
|
||||
scope_max = 8;
|
||||
scope_min = -8;
|
||||
|
||||
Reference in New Issue
Block a user