mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use native _Float16 for AVX512FP16 and update vectorization.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
0259a52b0e
commit
70f2aead9a
@@ -285,6 +285,8 @@
|
||||
#ifdef __AVX512FP16__
|
||||
#ifdef __AVX512VL__
|
||||
#define EIGEN_VECTORIZE_AVX512FP16
|
||||
// Built-in _Float16.
|
||||
#define EIGEN_HAS_BUILTIN_FLOAT16 1
|
||||
#else
|
||||
#if EIGEN_COMP_GNUC
|
||||
#error Please add -mavx512vl to your compiler flags: compiling with -mavx512fp16 alone without AVX512-VL is not supported.
|
||||
|
||||
Reference in New Issue
Block a user