-
Notifications
You must be signed in to change notification settings - Fork 82
Description
We would like to add a preset event that counts half-precision operations for the following two reasons:
1.Double-precision and single-precision events are already defined.
2.Defining half-precision would improve user convenience.
The test program will also be added under the validation_tests directory, but there are the following concerns.
To perform half-precision operations, variables of type __fp16 will be used. The available environments are limited.
Also, the following march specification is required when compiling with GCC.
e.g. -march=armv8.2-a+fp16
It seems we'll need to handle this with a compile switch in files like Makefile.recipes,
but currently, compile switches don't appear to be used.
Is it ok to add compile switches or should these events be defined as a user-defined event?