/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_limits.cpp | 203 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 …]
|
D | test_pipe_query_functions.cpp | 123 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 …]
|
D | test_pipe_readwrite_errors.cpp | 102 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 …]
|
D | test_pipe_subgroups.cpp | 136 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence() 139 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence() 142 test_error_ret(err, " clCreateBuffer failed", -1); in test_pipe_subgroups_divergence() 145 test_error_ret(err, " clCreatePipe failed", -1); in test_pipe_subgroups_divergence() 151 test_error_ret(err, " Error creating program", -1); in test_pipe_subgroups_divergence() 155 test_error_ret(err, " Error creating kernel", -1); in test_pipe_subgroups_divergence() 162 test_error_ret(err, " clSetKernelArg failed", -1); in test_pipe_subgroups_divergence() 165 test_error_ret(err, " Unable to get work group size to use", -1); in test_pipe_subgroups_divergence() 170 test_error_ret(err, " clGetDeviceInfo failed", -1); in test_pipe_subgroups_divergence() 177 test_error_ret(err, " clGetKernelSubGroupInfoKHR failed", -1); in test_pipe_subgroups_divergence() [all …]
|
D | test_pipe_read_write.cpp | 491 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 …]
|
/external/OpenCL-CTS/test_conformance/workgroups/ |
D | test_wg_suggested_local_work_size.cpp | 147 test_error_ret(err, "clGetDeviceInfo failed", -1); in do_test() 165 test_error_ret(err, "clCreateBuffer failed", -1); in do_test() 167 test_error_ret(err, "clSetKernelArg failed", -1); in do_test() 171 test_error_ret(err, "clSetKernelArg failed", -1); in do_test() 176 test_error_ret(err, "clGetKernelSuggestedLocalWorkSizeKHR failed", -1); in do_test() 182 test_error_ret(err, "clGetKernelWorkGroupInfo failed", -1); in do_test() 202 test_error_ret(err, "clEnqueueNDRangeKernel failed", -1); in do_test() 206 test_error_ret(err, "clEnqueueReadBuffer failed", -1); in do_test() 208 test_error_ret(err, "clFinish failed", -1); in do_test() 258 test_error_ret(err, in do_test_work_group_suggested_local_size() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 1042 test_error_ret(status, "Failed to allocate buffer", status); in check_global_initialization() 1047 test_error_ret(status, "Failed to create global_check kernel", status); in check_global_initialization() 1049 test_error_ret(status, in check_global_initialization() 1058 test_error_ret(status, "Failed to run global_check kernel", status); in check_global_initialization() 1060 test_error_ret(status, "clFinish() failed", status); in check_global_initialization() 1066 test_error_ret(status, "Failed to read buffer from device", status); in check_global_initialization() 1122 test_error_ret(status, "Failed to create program for read-after-write test", in l_write_read_for_type() 1126 test_error_ret(status, in l_write_read_for_type() 1135 test_error_ret(status, "Failed to query global variable total size", in l_write_read_for_type() 1160 test_error_ret(status, "Failed to allocate write buffer", status); in l_write_read_for_type() [all …]
|
D | test_enqueued_local_size.cpp | 91 test_error_ret(err, "clGetDeviceInfo failed.", TEST_FAIL); in test_enqueued_local_size()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_kernel_arg_info.cpp | 314 test_error_ret(err, "clGetDeviceInfo", false); in device_supports_pipes() 541 test_error_ret(err, "clGetDeviceInfo", 0); in get_param_size() 732 test_error_ret(err, "get_max_number_of_pipes", TEST_FAIL); in run_pipe_tests() 882 test_error_ret(err, "create_single_kernel_helper_with_build_options", in test_null_param() 888 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param() 893 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param() 897 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param() 901 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param() 905 test_error_ret(err, "clGetKernelArgInfo", TEST_FAIL); in test_null_param() 925 test_error_ret(err, "create_single_kernel_helper_with_build_options", in test_arg_name_size() [all …]
|
D | test_kernel_attributes.cpp | 278 test_error_ret(err, "create_single_kernel_helper", false); in run_test() 283 test_error_ret(err, "clGetKernelInfo", false); in run_test() 287 test_error_ret(err, "clGetKernelInfo", false); in run_test()
|
/external/OpenCL-CTS/test_common/harness/ |
D | kernelHelpers.cpp | 1478 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment() 1489 test_error_ret(error, "clGetContextInfo failed", 0); in get_min_alignment() 1521 test_error_ret(error, "Unable to get device CL_DEVICE_SINGLE_FP_CONFIG", in get_default_rounding_mode() 1527 test_error_ret(-1, in get_default_rounding_mode() 1535 test_error_ret(error, "FAILURE: Unable to get CL_DEVICE_PROFILE", 0); in get_default_rounding_mode() 1538 test_error_ret(error, in get_default_rounding_mode() 1552 test_error_ret(error, "FAILURE: Unable to get device queue properties", 0); in checkDeviceForQueueSupport() 1616 test_error_ret(error, in get_device_cl_c_version() 1625 test_error_ret(error, in get_device_cl_c_version() 1649 test_error_ret( in get_device_latest_cl_c_version() [all …]
|
D | errorHelpers.h | 64 #define test_error(errCode, msg) test_error_ret(errCode, msg, errCode) 65 #define test_error_fail(errCode, msg) test_error_ret(errCode, msg, TEST_FAIL) 66 #define test_error_ret(errCode, msg, retValue) \ macro
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | main.cpp | 166 test_error_ret(clGetDeviceInfo(device, in InitCL() 179 test_error_ret( in InitCL()
|
D | common.cpp | 79 test_error_ret(error, "clGetDeviceInfo", 0); in Size()
|
D | common.h | 576 test_error_ret(getSupportedMemoryOrdersAndScopes(deviceID, memoryOrder, in ExecuteForEachParameterSet() 695 test_error_ret(getSupportedMemoryOrdersAndScopes(deviceID, memoryOrder, in ExecuteForEachParameterSet()
|
/external/OpenCL-CTS/test_conformance/device_partition/ |
D | test_device_partition.cpp | 386 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()
|
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_command_buffer/ |
D | basic_command_buffer.cpp | 536 test_error_ret(error, "Error in test initialization", TEST_FAIL); in MakeAndRunTest() 544 test_error_ret(error, "Test Failed", TEST_FAIL); in MakeAndRunTest()
|