diff options
author | Kenneth Heafield <github@kheafield.com> | 2020-04-24 00:18:40 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2020-04-24 00:18:40 +0300 |
commit | 88471a26388f38eb4007cfbd4e52ac1a60c88a79 (patch) | |
tree | 41329ca0615ce0bcf3850574609e3d0803958a0c | |
parent | 2600d854f9131e0a0f8cd99a4110fdd874e43053 (diff) |
Add empty check for Tile
-rw-r--r-- | types.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ extern const CPUType kCPU; struct Tile { Index A_rows, inner, B_cols; + constexpr bool empty() const { return !A_rows || !inner || !B_cols; } }; #ifdef INTGEMM_COMPILER_SUPPORTS_AVX512VNNI |