mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
avx512 build fix; detect clang/gcc intrinsics vs. ICPC
This commit is contained in:
parent
a1705a8d53
commit
aa6a839c60
@ -371,14 +371,9 @@ namespace Optimization {
|
|||||||
// Some Template specialization
|
// Some Template specialization
|
||||||
|
|
||||||
// Hack for CLANG until mm512_reduce_add_ps etc... are implemented in GCC and Clang releases
|
// Hack for CLANG until mm512_reduce_add_ps etc... are implemented in GCC and Clang releases
|
||||||
<<<<<<< HEAD
|
|
||||||
#define GNU_CLANG_COMPILER
|
|
||||||
#ifdef GNU_CLANG_COMPILER
|
|
||||||
=======
|
|
||||||
|
|
||||||
#ifndef __INTEL_COMPILER
|
#ifndef __INTEL_COMPILER
|
||||||
#warning "Slow reduction due to incomplete reduce intrinsics"
|
#warning "Slow reduction due to incomplete reduce intrinsics"
|
||||||
>>>>>>> develop
|
|
||||||
//Complex float Reduce
|
//Complex float Reduce
|
||||||
template<>
|
template<>
|
||||||
inline Grid::ComplexF Reduce<Grid::ComplexF, __m512>::operator()(__m512 in){
|
inline Grid::ComplexF Reduce<Grid::ComplexF, __m512>::operator()(__m512 in){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user