Home
last modified time | relevance | path

Searched refs:test_error_ret (Results 1 – 15 of 15) 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()
223 test_error_ret(err, " Error creating program", -1); in test_pipe_max_args()
227 test_error_ret(err, " Error creating kernel", -1); in test_pipe_max_args()
239 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_max_args()
243 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
247 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
250 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_max_args()
253 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()
146 test_error_ret(err, " Error creating program", -1); in test_pipe_query_functions()
150 test_error_ret(err, " Error creating kernel", -1); in test_pipe_query_functions()
154 test_error_ret(err, " Error creating kernel", -1); in test_pipe_query_functions()
163 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_query_functions()
167 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()
121 test_error_ret(err, " Error creating program", -1); in test_pipe_readwrite_errors()
125 test_error_ret(err, " Error creating kernel", -1); in test_pipe_readwrite_errors()
134 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_readwrite_errors()
138 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite_errors()
141 test_error_ret(err, " clEnqueueReadBuffer failed", -1); in test_pipe_readwrite_errors()
153 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()
152 test_error_ret(err, " Error creating program", -1); in test_pipe_subgroups_divergence()
156 test_error_ret(err, " Error creating kernel", -1); in test_pipe_subgroups_divergence()
163 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_subgroups_divergence()
166 test_error_ret(err, " Unable to get work group size to use", -1); in test_pipe_subgroups_divergence()
171 test_error_ret(err, " clGetDeviceInfo failed", -1); in test_pipe_subgroups_divergence()
178 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()
537 test_error_ret(err, " Error creating program", -1); in test_pipe_readwrite()
541 test_error_ret(err, " Error creating kernel", -1); in test_pipe_readwrite()
550 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_readwrite()
561 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
569 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
584 test_error_ret(err, " clEnqueueNDRangeKernel failed", -1); in test_pipe_readwrite()
592 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 …]
Dtest_enqueued_local_size.cpp88 test_error_ret(err, "clGetDeviceInfo failed.", TEST_FAIL); in test_enqueued_local_size()
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernel_arg_info.cpp313 test_error_ret(err, "clGetDeviceInfo", false); in device_supports_pipes()
729 test_error_ret(err, "get_max_number_of_pipes", TEST_FAIL); in run_pipe_tests()
853 test_error_ret(err, "create_single_kernel_helper_with_build_options", in test_null_param()
859 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param()
864 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param()
868 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param()
872 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param()
876 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param()
896 test_error_ret(err, "create_single_kernel_helper_with_build_options", in test_arg_name_size()
902 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_arg_name_size()
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp1458 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment()
1469 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment()
1501 test_error_ret(error, "Unable to get device CL_DEVICE_SINGLE_FP_CONFIG", in get_default_rounding_mode()
1507 test_error_ret(-1, in get_default_rounding_mode()
1515 test_error_ret(error, "FAILURE: Unable to get CL_DEVICE_PROFILE", 0); in get_default_rounding_mode()
1518 test_error_ret(error, in get_default_rounding_mode()
1532 test_error_ret(error, "FAILURE: Unable to get device queue properties", 0); in checkDeviceForQueueSupport()
1596 test_error_ret(error, in get_device_cl_c_version()
1605 test_error_ret(error, in get_device_cl_c_version()
1629 test_error_ret( in get_device_latest_cl_c_version()
[all …]
DerrorHelpers.h69 #define test_error(errCode, msg) test_error_ret(errCode, msg, errCode)
70 #define test_error_ret(errCode, msg, retValue) \ macro
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dmain.cpp166 test_error_ret(clGetDeviceInfo(device, in InitCL()
179 test_error_ret( in InitCL()
Dcommon.cpp79 test_error_ret(error, "clGetDeviceInfo", 0); in Size()
Dcommon.h498 test_error_ret( in ExecuteForEachParameterSet()
594 test_error_ret( in ExecuteForEachParameterSet()
/external/OpenCL-CTS/test_conformance/device_partition/
Dtest_device_partition.cpp386 test_error_ret( err, "Unable to get device partition properties (2)", -1 ); in test_device_partition_type_support()
391 test_error_ret( err, "Unable to get device partition properties (1)", -1 ); in test_device_partition_type_support()