Remove compiler options that are specific to Apple (#1114)

These are causing test failures for non-Apple implementations of
OpenCL running on macOS.
This commit is contained in:
James Price
2021-04-06 11:42:46 -04:00
committed by GitHub
parent 5281b4c916
commit baa226a779

View File

@@ -61,10 +61,6 @@ const char *optimization_options[] = {
"-cl-fast-relaxed-math",
"-w",
"-Werror",
#if defined( __APPLE__ )
"-cl-opt-enable",
"-cl-auto-vectorize-enable"
#endif
};
cl_int get_result_from_program( cl_context context, cl_command_queue queue, cl_program program, cl_int *outValue )