Merge pull request #1042 from ncos/sg_native_knl

'Native' KNL support (AVX512 target)
This commit is contained in:
Dmitry Babokin
2015-05-21 15:44:06 +03:00
10 changed files with 990 additions and 28 deletions

16
ispc.h
View File

@@ -187,14 +187,14 @@ public:
also that __best_available_isa() needs to be updated if ISAs are
added or the enumerant values are reordered. */
enum ISA {
SSE2 = 0,
SSE4 = 1,
AVX = 2,
AVX11 = 3,
AVX2 = 4,
KNL = 5,
SKX = 6,
GENERIC = 7,
SSE2 = 0,
SSE4 = 1,
AVX = 2,
AVX11 = 3,
AVX2 = 4,
KNL_AVX512 = 5,
SKX = 6,
GENERIC = 7,
#ifdef ISPC_NVPTX_ENABLED
NVPTX,
#endif