Revert "Remove support for using SVML for math lib routines."
This reverts commit d9c38b5c1f.
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -112,6 +112,7 @@ usage(int ret) {
|
||||
printf(" [--math-lib=<option>]\t\tSelect math library\n");
|
||||
printf(" default\t\t\t\tUse ispc's built-in math functions\n");
|
||||
printf(" fast\t\t\t\tUse high-performance but lower-accuracy math functions\n");
|
||||
printf(" svml\t\t\t\tUse the Intel(r) SVML math libraries\n");
|
||||
printf(" system\t\t\t\tUse the system's math library (*may be quite slow*)\n");
|
||||
printf(" [-MMM <filename>\t\t\t\tWrite #include dependencies to given file.\n");
|
||||
printf(" [--nostdlib]\t\t\tDon't make the ispc standard library available\n");
|
||||
@@ -408,6 +409,8 @@ int main(int Argc, char *Argv[]) {
|
||||
g->mathLib = Globals::Math_ISPC;
|
||||
else if (!strcmp(lib, "fast"))
|
||||
g->mathLib = Globals::Math_ISPCFast;
|
||||
else if (!strcmp(lib, "svml"))
|
||||
g->mathLib = Globals::Math_SVML;
|
||||
else if (!strcmp(lib, "system"))
|
||||
g->mathLib = Globals::Math_System;
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user