Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Aaron En Ye Shi 09a1c22208 Fix hipTestFMA to support older compiler
The older compiler does not promote integral
arguments to double, instead it uses float.
This patch tries to support the old compiler
headers, and also the newer one.

Change-Id: I01e0b96a82ecddc6230cb5baf2573a318b25445b
2020-12-10 14:27:42 -05:00
Aaron En Ye Shi 1f0037eefc Fix hipTestFMA to align with libcxx
The HIP-Clang math headers upstream have been updated
to perform type promotion on math function overloads.
If any argument has integral type, it will be cast to
double.

Change-Id: I38d9e6240c40c4092b946851469498b2ae6500ae
2020-12-08 10:48:29 -08:00
agodavar d10124e1d7 cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
2020-10-21 07:26:14 -04:00
Maneesh Gupta 9f2d1453fb [hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Maneesh Gupta 255589ae15 Update hipTestFMA.cpp 2018-09-21 11:00:08 +05:30
Maneesh Gupta ecd6a212c7 Update hipTestFMA.cpp
Fix the test so that it works on nvcc path as well.
2018-09-20 11:23:51 +05:30
Yaxun Sam Liu bd622a4b4a Add fma function with float and _Float16 arguments 2018-09-19 09:59:33 -04:00