Fix for Windows build and making NEON target optional
This commit is contained in:
6
ispc.h
6
ispc.h
@@ -179,7 +179,11 @@ public:
|
||||
flexible/performant of them will apear last in the enumerant. Note
|
||||
also that __best_available_isa() needs to be updated if ISAs are
|
||||
added or the enumerant values are reordered. */
|
||||
enum ISA { NEON, SSE2, SSE4, AVX, AVX11, AVX2, GENERIC, NUM_ISAS };
|
||||
enum ISA {
|
||||
#ifdef ISPC_ARM_ENABLED
|
||||
NEON,
|
||||
#endif
|
||||
SSE2, SSE4, AVX, AVX11, AVX2, GENERIC, NUM_ISAS };
|
||||
|
||||
/** Initializes the given Target pointer for a target of the given
|
||||
name, if the name is a known target. Returns true if the
|
||||
|
||||
Reference in New Issue
Block a user