Implement new naming scheme for --target.
Now targets are named like "<isa>-i<mask size>x<gang size>", e.g. "sse4-i8x16", or "avx2-i32x16". The old target names are still supported.
This commit is contained in:
12
ispc.h
12
ispc.h
@@ -192,16 +192,16 @@ public:
|
||||
Target(const char *arch, const char *cpu, const char *isa, bool pic);
|
||||
|
||||
/** Returns a comma-delimited string giving the names of the currently
|
||||
supported target ISAs. */
|
||||
static const char *SupportedTargetISAs();
|
||||
supported compilation targets. */
|
||||
static const char *SupportedTargets();
|
||||
|
||||
/** Returns a comma-delimited string giving the names of the currently
|
||||
supported target CPUs. */
|
||||
static std::string SupportedTargetCPUs();
|
||||
supported CPUs. */
|
||||
static std::string SupportedCPUs();
|
||||
|
||||
/** Returns a comma-delimited string giving the names of the currently
|
||||
supported target architectures. */
|
||||
static const char *SupportedTargetArchs();
|
||||
supported architectures. */
|
||||
static const char *SupportedArchs();
|
||||
|
||||
/** Returns a triple string specifying the target architecture, vendor,
|
||||
and environment. */
|
||||
|
||||
Reference in New Issue
Block a user