Skip to content

Commit 8989221

Browse files
committed
Add ASAN testing for the ICL fp16 code
1 parent bbb7906 commit 8989221

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/c-cpp.yml

+3
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ jobs:
208208
209209
- name: Run test suite on SPR
210210
run: sde -spr -- ./builddir/testexe
211+
- name: Run ICL fp16 tests
212+
# Note: This filters for the _Float16 tests based on the number assigned to it, which could change in the future
213+
run: sde -icx -- ./builddir/testexe --gtest_filter="*/simdsort/2*"
211214

212215
SKX-SKL-openmp:
213216

tests/test-qsort.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ REGISTER_TYPED_TEST_SUITE_P(simdsort,
305305

306306
using QSortTestTypes = testing::Types<uint16_t,
307307
int16_t,
308-
// support for _Float16 is incomplete in gcc-12
309-
#if __GNUC__ >= 13
308+
// support for _Float16 is incomplete in gcc-12, clang < 6
309+
#if __GNUC__ >= 13 || __clang_major__ >= 6
310310
_Float16,
311311
#endif
312312
float,

0 commit comments

Comments
 (0)