Home
last modified time | relevance | path

Searched refs:test_error_ret (Results 1 – 11 of 11) sorted by relevance

/external/OpenCL-CTS/test_conformance/pipes/
Dtest_pipe_limits.cpp203 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_max_args()
208 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_max_args()
212 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_max_args()
224 test_error_ret(err, " Error creating program", -1); in test_pipe_max_args()
228 test_error_ret(err, " Error creating kernel", -1); in test_pipe_max_args()
240 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_max_args()
244 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
248 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
251 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
254 test_error_ret(err, " clWaitForEvents failed", -1); in test_pipe_max_args()
[all …]
Dtest_pipe_query_functions.cpp123 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_query_functions()
131 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_query_functions()
134 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_query_functions()
137 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_query_functions()
140 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_query_functions()
144 test_error_ret(err, " Error creating program", -1); in test_pipe_query_functions()
148 test_error_ret(err, " Error creating kernel", -1); in test_pipe_query_functions()
152 test_error_ret(err, " Error creating kernel", -1); in test_pipe_query_functions()
161 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_query_functions()
165 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_query_functions()
[all …]
Dtest_pipe_readwrite_errors.cpp102 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_readwrite_errors()
108 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_readwrite_errors()
111 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_readwrite_errors()
115 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_readwrite_errors()
119 test_error_ret(err, " Error creating program", -1); in test_pipe_readwrite_errors()
123 test_error_ret(err, " Error creating kernel", -1); in test_pipe_readwrite_errors()
132 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_readwrite_errors()
136 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite_errors()
139 test_error_ret(err, " clEnqueueReadBuffer failed", -1); in test_pipe_readwrite_errors()
151 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite_errors()
[all …]
Dtest_pipe_subgroups.cpp137 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence()
140 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence()
143 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence()
146 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_subgroups_divergence()
150 test_error_ret(err, " Error creating program", -1); in test_pipe_subgroups_divergence()
154 test_error_ret(err, " Error creating kernel", -1); in test_pipe_subgroups_divergence()
161 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_subgroups_divergence()
164 test_error_ret(err, " Unable to get work group size to use", -1); in test_pipe_subgroups_divergence()
169 test_error_ret(err, " clGetDeviceInfo failed", -1); in test_pipe_subgroups_divergence()
176 test_error_ret(err, " clGetKernelSubGroupInfoKHR failed", -1); in test_pipe_subgroups_divergence()
[all …]
Dtest_pipe_read_write.cpp491 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_readwrite()
498 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_readwrite()
503 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_readwrite()
538 test_error_ret(err, " Error creating program", -1); in test_pipe_readwrite()
542 test_error_ret(err, " Error creating kernel", -1); in test_pipe_readwrite()
551 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_readwrite()
562 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
570 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
585 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
593 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
[all …]
Dtest_pipe_info.cpp64 test_error_ret(err, " Error creating program", -1); in test_pipe_info()
69 test_error_ret(err, " clSetKernelArgInfo failed", -1); in test_pipe_info()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_progvar.cpp863 test_error_ret(status, "Failed to allocate buffer", status); in check_global_initialization()
867 test_error_ret(status, "Failed to create global_check kernel", status); in check_global_initialization()
869 test_error_ret(status, "Failed to set up argument for the global_check kernel", status); in check_global_initialization()
874 test_error_ret(status, "Failed to run global_check kernel", status); in check_global_initialization()
876 test_error_ret(status, "clFinish() failed", status); in check_global_initialization()
880 test_error_ret(status, "Failed to read buffer from device", status); in check_global_initialization()
928 test_error_ret(status,"Failed to create program for read-after-write test",status); in l_write_read_for_type()
931 test_error_ret(status,"Failed to create reader kernel for read-after-write test",status); in l_write_read_for_type()
936 test_error_ret(status,"Failed to query global variable total size",status); in l_write_read_for_type()
955 test_error_ret(status,"Failed to allocate write buffer",status); in l_write_read_for_type()
[all …]
/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.h59 #define test_error(errCode,msg) test_error_ret(errCode,msg,errCode)
60 #define test_error_ret(errCode,msg,retValue) { if( errCode != CL_SUCCESS ) { print_error( errCod… macro
DkernelHelpers.cpp1409 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment()
1422 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment()
1456 test_error_ret( error, "Unable to get device CL_DEVICE_SINGLE_FP_CONFIG", 0 ); in get_default_rounding_mode()
1462test_error_ret( -1, "FAILURE: device must support either CL_DEVICE_SINGLE_FP_CONFIG or CL_FP_ROUND… in get_default_rounding_mode()
1466 test_error_ret( error, "FAILURE: Unable to get CL_DEVICE_PROFILE", 0 ); in get_default_rounding_mode()
1469test_error_ret( error, "FAILURE: non-EMBEDDED_PROFILE devices must support CL_FP_ROUND_TO_NEAREST"… in get_default_rounding_mode()
1478 test_error_ret( error, "FAILURE: Unable to get device queue properties", 0 ); in checkDeviceForQueueSupport()
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.cpp83 test_error_ret(error, "clGetDeviceInfo", 0); in Size()
/external/OpenCL-CTS/test_conformance/device_partition/
Dtest_device_partition.cpp385 test_error_ret( err, "Unable to get device partition properties (2)", -1 ); in test_device_partition_type_support()
390 test_error_ret( err, "Unable to get device partition properties (1)", -1 ); in test_device_partition_type_support()