aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/library
AgeCommit message (Collapse)Author
2024-02-23pseudocode: a few more simple syntax fixesKevin Petit
- Use function call syntax for static_cast and sizeof - Replace undefined in_u_t with in_t - Add missing semicolon Change-Id: If6147ae93b371230cbebdf45a55490bf462a8219 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-02-15pseudocode: move defintions of apply_clip_{s,u} after the functions they callKevin Petit
They need apply_{max,min}_{s,u}. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I67cdfcd0eb9d7a25223b2ebb86219a21bbf9f2f6
2024-02-15pseudocode: use function declaration syntax for library functions that are ↵Kevin Petit
not defined Also: - Add missing semicolon - Fix prototype for is_floating_point to use template syntax Change-Id: I9ec1c687a3854b73ddac78f4db0db8e10f4e10e6 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-02-14Initial FP8 supportEric Kunze
Adds support for Open Compute Project (OCP) 8-bit floating point operations to the TOSA specification. Both E4M3 and E5M2 types are supported for profiles as indicated in the Supported Data Types table for each operator. FP8 operator list ARGMAX AVGPOOL CONV2D CONV3D DEPTHWISE_CONV2D MATMUL MAX_POOL2D TRANSPOSE_CONV2D CONST CAST CONCAT PAD DIM RESHAPE REVERSE SLICE TILE TRANSPOSE GATHER SCATTER Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I3dd83f48afcc3c880c5c88039337ff4f1fd95b1b
2024-02-08pseudocode: use function call syntax to call templated functionsKevin Petit
Change-Id: I24409a38aaf4818a9ab0abc0cad5c7d052e01bd1 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2024-02-06pseudocode: move all helpers to separate filesKevin Petit
Change-Id: I75ea94d42c63e862af8e492da7f47ecd6caa1055 Signed-off-by: Kevin Petit <kevin.petit@arm.com>