diff --git a/examples/intrinsics/knc-i1x16.h b/examples/intrinsics/knc-i1x16.h index ba6ef005..e5560b2a 100644 --- a/examples/intrinsics/knc-i1x16.h +++ b/examples/intrinsics/knc-i1x16.h @@ -741,7 +741,7 @@ template static FORCEINLINE void __store(__vec16_i32 *p, __vec16_i32 #endif } -#if 0 /* knc::fails ./tests/foreach-25.ispc ./tests/forach-26.ispc ./tests/foreach-27.ispc */ +#if 1 /* knc::fails ./tests/foreach-25.ispc ./tests/forach-26.ispc ./tests/foreach-27.ispc */ template <> static FORCEINLINE __vec16_i32 __load<64>(const __vec16_i32 *p) { return _mm512_load_epi32(p); @@ -1016,7 +1016,7 @@ template static FORCEINLINE void __store(__vec16_i64 *p, __vec16_i64 #endif } -#if 0 /* knc::fails as with _i32 this may generate fails ... so commetining it out */ +#if 1 /* knc::fails as with _i32 this may generate fails ... so commetining it out */ template <> static FORCEINLINE __vec16_i64 __load<64>(const __vec16_i64 *p) { __m512i v2 = _mm512_load_epi32(p); @@ -1130,7 +1130,7 @@ template static FORCEINLINE void __store(__vec16_f *p, __vec16_f v) #endif } -#if 0 /* knc::fails ./tests/gs-improve-progindex.ispc with segfault */ +#if 1 /* knc::fails ./tests/gs-improve-progindex.ispc with segfault */ template <> static FORCEINLINE __vec16_f __load<64>(const __vec16_f *p) { return _mm512_load_ps(p); @@ -1411,7 +1411,7 @@ template static FORCEINLINE void __store(__vec16_d *p, __vec16_d v) } -#if 0 /* knc::fails as with _f this may generate fails ... so commetining it out */ +#if 1 /* knc::fails as with _f this may generate fails ... so commetining it out */ template <> static FORCEINLINE __vec16_d __load<64>(const __vec16_d *p) { return __vec16_d(_mm512_load_pd(p), _mm512_load_pd(((uint8_t*)p)+64)); diff --git a/examples/portable/common_cpu.mk b/examples/portable/common_cpu.mk index 06d58e7a..31048390 100644 --- a/examples/portable/common_cpu.mk +++ b/examples/portable/common_cpu.mk @@ -10,7 +10,7 @@ CXXFLAGS+=-DISPC_USE_OMP CC=clang CC=icc -openmp CCFLAGS+=-Iobjs/ -O2 -I../../ -I../../util -CXXFLAGS+=-DISPC_USE_OMP +CCFLAGS+=-DISPC_USE_OMP LIBS=-lm $(TASK_LIB) -lstdc++ ISPC=ispc diff --git a/examples/portable/common_knc.mk b/examples/portable/common_knc.mk index 3f3a7930..e5cf89ae 100644 --- a/examples/portable/common_knc.mk +++ b/examples/portable/common_knc.mk @@ -7,7 +7,7 @@ CXXFLAGS+=-Iobjs_knc/ -O2 -I../../ -I../../util -I./ CXXFLAGS+= -DISPC_USE_OMP CC=icc -openmp -mmic CCFLAGS+= -Iobjs_knc/ -O2 -I../../ -I../../util -I./ -CXXFLAGS+=-DISPC_USE_OMP +CCFLAGS+=-DISPC_USE_OMP LD=icc -mmic -openmp