diff --git a/test_conformance/math_brute_force/main.cpp b/test_conformance/math_brute_force/main.cpp index df162f28..74dd5c47 100644 --- a/test_conformance/math_brute_force/main.cpp +++ b/test_conformance/math_brute_force/main.cpp @@ -1026,34 +1026,6 @@ int IsTininessDetectedBeforeRounding(void) return 0; } - -int MakeKernel(const char **c, cl_uint count, const char *name, cl_kernel *k, - cl_program *p, bool relaxedMode) -{ - int error = 0; - char options[200] = ""; - - if (gForceFTZ) - { - strcat(options, " -cl-denorms-are-zero"); - } - - if (relaxedMode) - { - strcat(options, " -cl-fast-relaxed-math"); - } - - error = - create_single_kernel_helper(gContext, p, k, count, c, name, options); - if (error != CL_SUCCESS) - { - vlog_error("\t\tFAILED -- Failed to create kernel. (%d)\n", error); - return error; - } - - return error; -} - static int IsInRTZMode(void) { int error; diff --git a/test_conformance/math_brute_force/utility.h b/test_conformance/math_brute_force/utility.h index ff0fd46d..652d990a 100644 --- a/test_conformance/math_brute_force/utility.h +++ b/test_conformance/math_brute_force/utility.h @@ -82,9 +82,6 @@ float Abs_Error(float test, double reference); float Ulp_Error(float test, double reference); float Bruteforce_Ulp_Error_Double(double test, long double reference); -int MakeKernel(const char **c, cl_uint count, const char *name, cl_kernel *k, - cl_program *p, bool relaxedMode); - // used to convert a bucket of bits into a search pattern through double inline double DoubleFromUInt32(uint32_t bits) {