Skip to content

Commit

Permalink
fp16: don't use _Float16 on ClangCL if not supported
Browse files Browse the repository at this point in the history
Closes: #1069
  • Loading branch information
mr-c committed Nov 7, 2023
1 parent 9815161 commit 8a6b8c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simde/simde-f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ SIMDE_BEGIN_DECLS_
* welcome. */
#if !defined(SIMDE_FLOAT16_API)
#if !defined(__EMSCRIPTEN__) && !(defined(__clang__) && defined(SIMDE_ARCH_POWER)) && \
!(defined(HEDLEY_MSVC_VERSION) && defined(__clang__)) && \
!(defined(__clang__) && defined(SIMDE_ARCH_RISCV64)) && ( \
defined(SIMDE_X86_AVX512FP16_NATIVE) || \
(defined(SIMDE_ARCH_X86_SSE2) && HEDLEY_GCC_VERSION_CHECK(12,0,0)) || \
Expand Down

0 comments on commit 8a6b8c5

Please sign in to comment.