/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | test_functions.h | 22 int TestFunc_Float_Float(const Func *f, MTdata, bool relaxedMode); 25 int TestFunc_Double_Double(const Func *f, MTdata, bool relaxedMode); 28 int TestFunc_Int_Float(const Func *f, MTdata, bool relaxedMode); 31 int TestFunc_Int_Double(const Func *f, MTdata, bool relaxedMode); 34 int TestFunc_Float_UInt(const Func *f, MTdata, bool relaxedMode); 37 int TestFunc_Double_ULong(const Func *f, MTdata, bool relaxedMode); 41 int TestMacro_Int_Float(const Func *f, MTdata, bool relaxedMode); 45 int TestMacro_Int_Double(const Func *f, MTdata, bool relaxedMode); 48 int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode); 51 int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode); [all …]
|
D | unary_two_results_float.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 105 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 114 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 122 info->programs + i, info->relaxedMode); in BuildKernelFn() 125 int TestFunc_Float2_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Float2_Float() argument 141 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float2_Float() 143 float float_ulps = getAllowedUlpError(f, relaxedMode); in TestFunc_Float2_Float() 147 f->nameInCode, relaxedMode }; in TestFunc_Float2_Float() 163 if (relaxedMode && strcmp(f->name, "sincos") == 0) in TestFunc_Float2_Float() 175 if (relaxedMode && strcmp(f->name, "sincos") == 0) in TestFunc_Float2_Float() [all …]
|
D | unary_float.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 99 relaxedMode); in BuildKernel() 109 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 117 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 150 bool relaxedMode; // True if test is running in relaxed mode, false member 156 int TestFunc_Float_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Float_Float() argument 162 int skipTestingRelaxed = (relaxedMode && strcmp(f->name, "tan") == 0); in TestFunc_Float_Float() 164 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float_Float() 188 test_info.relaxedMode = relaxedMode; in TestFunc_Float_Float() 275 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Float_Float() [all …]
|
D | mad_float.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 111 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 120 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 128 info->programs + i, info->relaxedMode); in BuildKernelFn() 131 int TestFunc_mad_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_mad_Float() argument 135 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_mad_Float() 148 f->nameInCode, relaxedMode }; in TestFunc_mad_Float()
|
D | mad_double.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 113 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 122 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 130 info->programs + i, info->relaxedMode); in BuildKernelFn() 133 int TestFunc_mad_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_mad_Double() argument 144 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_mad_Double() 149 f->nameInCode, relaxedMode }; in TestFunc_mad_Double()
|
D | unary_u_double.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 102 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 111 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 119 info->programs + i, info->relaxedMode); in BuildKernelFn() 127 int TestFunc_Double_ULong(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Double_ULong() argument 137 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double_ULong() 144 f->nameInCode, relaxedMode }; in TestFunc_Double_ULong()
|
D | i_unary_float.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 98 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 107 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 115 info->programs + i, info->relaxedMode); in BuildKernelFn() 118 int TestFunc_Int_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Int_Float() argument 127 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Int_Float() 139 f->nameInCode, relaxedMode }; in TestFunc_Int_Float()
|
D | unary_u_float.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 99 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 108 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 116 info->programs + i, info->relaxedMode); in BuildKernelFn() 119 int TestFunc_Float_UInt(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Float_UInt() argument 130 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float_UInt() 141 f->nameInCode, relaxedMode }; in TestFunc_Float_UInt()
|
D | i_unary_double.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 100 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 109 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 117 info->programs + i, info->relaxedMode); in BuildKernelFn() 120 int TestFunc_Int_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Int_Double() argument 130 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Int_Double() 142 f->nameInCode, relaxedMode }; in TestFunc_Int_Double()
|
D | binary_float.cpp | 26 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 107 relaxedMode); in BuildKernel() 117 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 125 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 163 bool relaxedMode; // True if test is running in relaxed mode, false member 275 int TestFunc_Float_Float_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Float_Float_Float() argument 283 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float_Float_Float() 307 test_info.relaxedMode = relaxedMode; in TestFunc_Float_Float_Float() 392 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Float_Float_Float() 468 bool relaxedMode = job->relaxedMode; in Test() local [all …]
|
D | binary_operator_float.cpp | 25 bool relaxedMode) in BuildKernel() argument 106 relaxedMode); in BuildKernel() 116 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 124 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 158 bool relaxedMode; // True if the test is being run in relaxed mode, false member 273 bool relaxedMode) in TestFunc_Float_Float_Float_Operator() argument 281 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float_Float_Float_Operator() 305 test_info.relaxedMode = relaxedMode; in TestFunc_Float_Float_Float_Operator() 387 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Float_Float_Float_Operator() 463 bool relaxedMode = job->relaxedMode; in Test() local [all …]
|
D | unary_double.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 101 relaxedMode); in BuildKernel() 111 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 119 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 152 bool relaxedMode; // True if test is running in relaxed mode, false member 158 int TestFunc_Double_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Double_Double() argument 165 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double_Double() 187 test_info.relaxedMode = relaxedMode; in TestFunc_Double_Double() 257 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Double_Double()
|
D | unary_two_results_i_float.cpp | 25 cl_program *p, bool relaxedMode) in BuildKernel() argument 106 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 115 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 123 info->programs + i, info->relaxedMode); in BuildKernelFn() 132 int TestFunc_FloatI_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_FloatI_Float() argument 146 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_FloatI_Float() 159 f->nameInCode, relaxedMode }; in TestFunc_FloatI_Float()
|
D | unary_two_results_i_double.cpp | 25 cl_program *p, bool relaxedMode) in BuildKernel() argument 108 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 117 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 125 info->programs + i, info->relaxedMode); in BuildKernelFn() 134 int TestFunc_DoubleI_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_DoubleI_Double() argument 149 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_DoubleI_Double() 156 f->nameInCode, relaxedMode }; in TestFunc_DoubleI_Double()
|
D | unary_two_results_double.cpp | 24 cl_program *p, bool relaxedMode) in BuildKernel() argument 107 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 116 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 124 info->programs + i, info->relaxedMode); in BuildKernelFn() 127 int TestFunc_Double2_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Double2_Double() argument 141 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double2_Double() 148 f->nameInCode, relaxedMode }; in TestFunc_Double2_Double()
|
D | macro_unary_double.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 101 relaxedMode); in BuildKernel() 111 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 119 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 150 int TestMacro_Int_Double(const Func *f, MTdata d, bool relaxedMode) in TestMacro_Int_Double() argument 155 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestMacro_Int_Double() 246 test_info.programs, f->nameInCode, relaxedMode in TestMacro_Int_Double()
|
D | macro_unary_float.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 100 relaxedMode); in BuildKernel() 110 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 118 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 149 int TestMacro_Int_Float(const Func *f, MTdata d, bool relaxedMode) in TestMacro_Int_Float() argument 154 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestMacro_Int_Float() 246 test_info.programs, f->nameInCode, relaxedMode in TestMacro_Int_Float()
|
D | binary_two_results_i_float.cpp | 25 cl_program *p, bool relaxedMode) in BuildKernel() argument 113 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 122 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 130 info->programs + i, info->relaxedMode); in BuildKernelFn() 164 int TestFunc_FloatI_Float_Float(const Func *f, MTdata d, bool relaxedMode) in TestFunc_FloatI_Float_Float() argument 168 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_FloatI_Float_Float() 192 f->nameInCode, relaxedMode }; in TestFunc_FloatI_Float_Float()
|
D | binary_two_results_i_double.cpp | 25 cl_program *p, bool relaxedMode) in BuildKernel() argument 115 return MakeKernel(kern, (cl_uint)kernSize, testName, k, p, relaxedMode); in BuildKernel() 124 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 132 info->programs + i, info->relaxedMode); in BuildKernelFn() 168 int TestFunc_DoubleI_Double_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_DoubleI_Double_Double() argument 180 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_DoubleI_Double_Double() 191 f->nameInCode, relaxedMode }; in TestFunc_DoubleI_Double_Double()
|
D | binary_operator_double.cpp | 25 bool relaxedMode) in BuildKernel() argument 108 relaxedMode); in BuildKernel() 118 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 126 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 160 bool relaxedMode; // True if the test is being run in relaxed mode, false member 283 bool relaxedMode) in TestFunc_Double_Double_Double_Operator() argument 291 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double_Double_Double_Operator() 395 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Double_Double_Double_Operator()
|
D | binary_i_double.cpp | 25 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 108 relaxedMode); in BuildKernel() 118 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 126 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 287 int TestFunc_Double_Double_Int(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Double_Double_Int() argument 295 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double_Double_Int() 402 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Double_Double_Int()
|
D | macro_binary_float.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 105 relaxedMode); in BuildKernel() 115 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 123 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 262 int TestMacro_Int_Float_Float(const Func *f, MTdata d, bool relaxedMode) in TestMacro_Int_Float_Float() argument 267 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestMacro_Int_Float_Float() 371 test_info.programs, f->nameInCode, relaxedMode in TestMacro_Int_Float_Float()
|
D | binary_i_float.cpp | 25 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 106 relaxedMode); in BuildKernel() 116 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 124 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 279 int TestFunc_Float_Float_Int(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Float_Float_Int() argument 287 logFunctionInfo(f->name, sizeof(cl_float), relaxedMode); in TestFunc_Float_Float_Int() 395 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Float_Float_Int()
|
D | binary_double.cpp | 26 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 109 relaxedMode); in BuildKernel() 119 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 127 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 165 bool relaxedMode; // True if test is running in relaxed mode, false member 285 int TestFunc_Double_Double_Double(const Func *f, MTdata d, bool relaxedMode) in TestFunc_Double_Double_Double() argument 293 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestFunc_Double_Double_Double() 401 test_info.programs, f->nameInCode, relaxedMode in TestFunc_Double_Double_Double()
|
D | macro_binary_double.cpp | 24 cl_kernel *k, cl_program *p, bool relaxedMode) in BuildKernel() argument 107 relaxedMode); in BuildKernel() 117 bool relaxedMode; // Whether to build with -cl-fast-relaxed-math. member 125 info->kernels[i], info->programs + i, info->relaxedMode); in BuildKernelFn() 272 int TestMacro_Int_Double_Double(const Func *f, MTdata d, bool relaxedMode) in TestMacro_Int_Double_Double() argument 277 logFunctionInfo(f->name, sizeof(cl_double), relaxedMode); in TestMacro_Int_Double_Double() 380 test_info.programs, f->nameInCode, relaxedMode in TestMacro_Int_Double_Double()
|