/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 198 test_error( error, "Unable to release a program object" ); in test_large_single_compile() 205 test_error( error, "Unable to build a long program" ); in test_large_single_compile() 209 test_error( error, "Unable to release a program object" ); in test_large_single_compile() 311 test_error( error, "Unable to release program object" ); in test_large_multi_file_library() 319 test_error( error, "Unable to compile a simple program" ); in test_large_multi_file_library() 335 test_error( error, "Unable to compile a simple program" ); in test_large_multi_file_library() 342 test_error( error, "Unable to create a multi-line library" ); in test_large_multi_file_library() 347 test_error( error, "Unable to link a program with a library" ); in test_large_multi_file_library() 351 test_error( error, "Unable to create a composite kernel" ); in test_large_multi_file_library() 360 test_error( error, "Unable to release program object" ); in test_large_multi_file_library() [all …]
|
D | test_build_options.cpp | 70 test_error( error, "Unable to create kernel from program" ); in get_result_from_program() 75 test_error( error, "Unable to create test buffer" ); in get_result_from_program() 78 test_error( error, "Unable to set kernel argument" ); in get_result_from_program() 83 test_error( error, "Unable to execute test kernel" ); in get_result_from_program() 86 test_error( error, "Unable to read output array!" ); in get_result_from_program() 109 test_error( error, "Test program did not properly build" ); in test_options_build_optimizations() 112 test_error( error, "Unable to get program build status" ); in test_options_build_optimizations() 140 test_error( error, "Test program did not properly build" ); in test_options_build_macro() 143 test_error( error, "Unable to get program build status" ); in test_options_build_macro() 156 test_error( error, "Unable to get result from first program" ); in test_options_build_macro() [all …]
|
D | test_build_helpers.cpp | 78 test_error( error, "Unable to create reference program" ); in test_load_program_source() 82 test_error( error, "Unable to get length of first program source" ); in test_load_program_source() 95 test_error( error, "Unable to get buffer of first program source" ); in test_load_program_source() 137 test_error( error, "Unable to build multi-line program source" ); in test_load_multistring_source() 173 test_error( error, "Unable to build two-kernel program source" ); in test_load_two_kernel_source() 179 test_error( error, "Unable to release program object" ); in test_load_two_kernel_source() 200 test_error( error, "Unable to build null-terminated program source" ); in test_load_null_terminated_source() 206 test_error( error, "Unable to release program object" ); in test_load_null_terminated_source() 230 test_error( error, "Unable to build null-terminated program source" ); in test_load_null_terminated_multi_line_source() 236 test_error( error, "Unable to release program object" ); in test_load_null_terminated_multi_line_source() [all …]
|
D | test_preprocessor.cpp | 57 test_error( error, "clCreateBuffer failed"); in test_preprocessor_define_udef() 59 test_error( error, "clCreateBuffer failed"); in test_preprocessor_define_udef() 61 test_error( error, "clCreateBuffer failed"); in test_preprocessor_define_udef() 82 test_error(error, "clSetKernelArg failed"); in test_preprocessor_define_udef() 84 test_error(error, "clSetKernelArg failed"); in test_preprocessor_define_udef() 86 test_error(error, "clSetKernelArg failed"); in test_preprocessor_define_udef() 90 test_error(error, "clEnqueueWriteBuffer failed"); in test_preprocessor_define_udef() 94 test_error(error, "clEnqueueNDRangeKernel failed"); in test_preprocessor_define_udef() 97 test_error(error, "clEnqueueReadBuffer failed"); in test_preprocessor_define_udef() 107 test_error(error, "clEnqueueReadBuffer failed"); in test_preprocessor_define_udef() [all …]
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_clone_kernel.cpp | 148 test_error( error, "clCreateImage failed." ); in test_image_arg_shallow_clone() 156 test_error( error, "clCreateSamplerWithProperties failed." ); in test_image_arg_shallow_clone() 160 test_error( error, "clSetKernelArg failed." ); in test_image_arg_shallow_clone() 163 test_error( error, "clEnqueueNDRangeKernel failed." ); in test_image_arg_shallow_clone() 169 test_error( error, "clSetKernelArg failed." ); in test_image_arg_shallow_clone() 173 test_error( error, "clCloneKernel failed." ); in test_image_arg_shallow_clone() 175 test_error( error, "clEnqueueNDRangeKernel failed." ); in test_image_arg_shallow_clone() 179 test_error( error, "clEnqueueReadBuffer failed." ); in test_image_arg_shallow_clone() 183 test_error( error, "clCloneKernel test failed." ); in test_image_arg_shallow_clone() 189 test_error( error, "clCloneKernel test failed." ); in test_image_arg_shallow_clone() [all …]
|
D | test_binary.cpp | 36 test_error( error, "Unable to build test program" ); in test_binary_get() 40 test_error( error, "Unable to get binary size" ); in test_binary_get() 57 test_error( error, "Unable to get expected size of binaries array" ); in test_binary_get() 66 test_error( error, "Unable to get program binary" ); in test_binary_get() 85 test_error( error, "Unable to build test program" ); in test_binary_create() 89 test_error( error, "Unable to get binary size" ); in test_binary_create() 103 test_error( error, "Unable to get program binary" ); in test_binary_create() 107 test_error( error, "Unable to load valid program binary" ); in test_binary_create() 108 test_error( loadErrors[ 0 ], "Unable to load valid device binary into program" ); in test_binary_create() 111 test_error( error, "Unable to build binary program" ); in test_binary_create() [all …]
|
D | test_kernels.cpp | 99 test_error( error, "Unable to get kernel function name param size" ); in test_get_kernel_info() 107 test_error( error, "Unable to get kernel function name" ); in test_get_kernel_info() 116 test_error( error, "Unable to get kernel arg count param size" ); in test_get_kernel_info() 124 test_error( error, "Unable to get kernel arg count" ); in test_get_kernel_info() 133 test_error( error, "Unable to get kernel reference count param size" ); in test_get_kernel_info() 141 test_error( error, "Unable to get kernel reference count" ); in test_get_kernel_info() 145 test_error( error, "Unable to get kernel program param size" ); in test_get_kernel_info() 153 test_error( error, "Unable to get kernel program" ); in test_get_kernel_info() 161 test_error( error, "Unable to get kernel context" ); in test_get_kernel_info() 197 test_error( error, "Creating test array failed" ); in test_execute_kernel_local_sizes() [all …]
|
D | test_create_kernels.cpp | 90 test_error( error, "Unable to build test program" ); in test_load_single_kernel() 93 test_error( error, "Unable to create single kernel program" ); in test_load_single_kernel() 97 test_error( error, "Unable to get kernel's program" ); in test_load_single_kernel() 110 test_error( error, "Unable to get kernel's context" ); in test_load_single_kernel() 124 test_error( error, "Unable to get size of arg count info from kernel" ); in test_load_single_kernel() 133 test_error( error, "Unable to get arg count from kernel" ); in test_load_single_kernel() 144 test_error( error, "Unable to get name from kernel" ); in test_load_single_kernel() 173 test_error( error, "Unable to build test program" ); in test_load_two_kernels() 176 test_error( error, "Unable to create dual kernel program" ); in test_load_two_kernels() 186 test_error( error, "Unable to get function name from kernel" ); in test_load_two_kernels() [all …]
|
D | test_api_min_max.cpp | 122 test_error( error, "Unable to get max work item dimensions from device" ); in test_min_max_thread_dimensions() 149 test_error( error, "Unable to set kernel arguments" ); in test_min_max_thread_dimensions() 165 test_error( error, "Failed clEnqueueNDRangeKernel"); in test_min_max_thread_dimensions() 169 test_error( error, "clWaitForEvent failed"); in test_min_max_thread_dimensions() 171 test_error( error, "clGetEventInfo for CL_EVENT_COMMAND_EXECUTION_STATUS failed"); in test_min_max_thread_dimensions() 174 test_error(error, "Kernel execution event returned error"); in test_min_max_thread_dimensions() 193 test_error( error, "Unable to get max work item dimensions from device" ); in test_min_max_work_items_sizes() 198 test_error( error, "clDeviceInfo for CL_DEVICE_MAX_WORK_ITEM_SIZES failed" ); in test_min_max_work_items_sizes() 227 test_error( error, "Unable to get max work group size from device" ); in test_min_max_work_group_size() 266 test_error( error, "Unable to get max read image arg count from device" ); in test_min_max_read_image_args() [all …]
|
D | test_queries.cpp | 32 test_error( error, "Unable to get platform" ); in test_get_platform_info() 36 test_error( error, "Unable to get platform profile string" ); in test_get_platform_info() 54 test_error( error, "Unable to get platform profile length" ); in test_get_platform_info() 65 test_error( error, "Unable to get platform version string" ); in test_get_platform_info() 124 test_error( error, "Unable to get platform version length" ); in test_get_platform_info() 141 test_error(error, "Unable to get sampler info"); in sampler_param_test() 188 test_error(error, "Unable to create sampler to test with"); in test_sampler_params() 193 test_error(error, "Unable to create sampler to test with"); in test_sampler_params() 198 test_error(error, "Unable to get sampler ref count"); in test_sampler_params() 203 test_error(error, "param checking failed"); in test_sampler_params() [all …]
|
D | test_zero_sized_enqueue.cpp | 97 test_error( error, "clSetKernelArg failed." ); in test_zero_sized_enqueue_helper() 102 test_error( error, "1D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 106 test_error( error, "2D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 110 test_error( error, "2D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 114 test_error( error, "2D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 119 test_error( error, "3D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 123 test_error( error, "3D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 127 test_error( error, "3D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 131 test_error( error, "3D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() 135 test_error( error, "3D zero sized kernel enqueue failed." ); in test_zero_sized_enqueue_helper() [all …]
|
D | test_retain.cpp | 42 test_error( err, "Unable to create command queue to test with" ); in test_retain_queue_single() 46 test_error( err, "Unable to get queue instance count" ); in test_retain_queue_single() 74 test_error( err, "Unable to create command queue to test with" ); in test_retain_queue_multiple() 84 test_error( err, "Unable to get queue instance count" ); in test_retain_queue_multiple() 94 test_error( err, "Unable to get queue instance count" ); in test_retain_queue_multiple() 104 test_error( err, "Unable to get queue instance count" ); in test_retain_queue_multiple() 114 test_error( err, "Unable to get queue instance count" ); in test_retain_queue_multiple() 143 test_error( err, "Unable to create buffer to test with" ); in test_retain_mem_object_single() 147 test_error( err, "Unable to get mem object count" ); in test_retain_mem_object_single() 175 test_error( err, "Unable to create buffer to test with" ); in test_retain_mem_object_multiple() [all …]
|
D | test_api_consistency.cpp | 42 test_error(error, "Unable to query CL_DEVICE_SVM_CAPABILITIES"); in test_consistency_svm() 50 test_error(error, "Unable to create test buffer"); in test_consistency_svm() 54 test_error(error, "Unable to create test kernel"); in test_consistency_svm() 63 test_error(error, "Unable to query CL_MEM_USES_SVM_POINTER"); in test_consistency_svm() 210 test_error(error, "Unable to query CL_DEVICE_ATOMIC_MEMORY_CAPABILITIES"); in test_consistency_memory_model() 223 test_error(error, "Unable to query CL_DEVICE_ATOMIC_FENCE_CAPABILITIES"); in test_consistency_memory_model() 249 test_error(error, "Unable to query CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES"); in test_consistency_device_enqueue() 260 test_error(error, in test_consistency_device_enqueue() 280 test_error(error, in test_consistency_device_enqueue() 289 test_error(error, "Unable to query CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE"); in test_consistency_device_enqueue() [all …]
|
D | test_queue_properties.cpp | 51 test_error(error, "clGetDeviceInfo for CL_DEVICE_PLATFORM failed"); in enqueue_kernel() 61 test_error(error, "clCreateCommandQueueWithPropertiesKHR failed"); in enqueue_kernel() 69 test_error( error, "clCreateBuffer failed." ); in enqueue_kernel() 71 test_error( error, "clCreateBuffer failed." ); in enqueue_kernel() 74 test_error( error, "clSetKernelArg failed." ); in enqueue_kernel() 77 test_error( error, "clSetKernelArg failed." ); in enqueue_kernel() 80 test_error( error, "clEnqueueNDRangeKernel failed." ); in enqueue_kernel() 83 test_error(error, "clWaitForEvents failed."); in enqueue_kernel() 86 test_error( error, "clEnqueueReadBuffer failed." ); in enqueue_kernel() 121 test_error(error, "create_single_kernel_helper failed"); in test_queue_properties() [all …]
|
D | test_create_context_from_type.cpp | 50 test_error(error, "clGetDeviceInfo for CL_DEVICE_TYPE failed\n"); in test_create_context_from_type() 54 test_error(error, "clGetDeviceInfo for CL_DEVICE_PLATFORM failed\n"); in test_create_context_from_type() 63 test_error(error, "clCreateContextFromType failed"); in test_create_context_from_type() 70 test_error(error, "clCreateCommandQueue failed"); in test_create_context_from_type() 85 test_error( error, "Creating test array failed" ); in test_create_context_from_type() 88 test_error( error, "Creating test array failed" ); in test_create_context_from_type() 97 test_error( error, "Unable to set testing kernel data" ); in test_create_context_from_type() 101 test_error( error, "Unable to set indexed kernel arguments" ); in test_create_context_from_type() 103 test_error( error, "Unable to set indexed kernel arguments" ); in test_create_context_from_type() 110 test_error( error, "Unable to get work group size to use" ); in test_create_context_from_type() [all …]
|
/external/OpenCL-CTS/test_conformance/events/ |
D | test_events.cpp | 48 test_error( error, "Unable to get work group size to use" ); in create_and_execute_kernel() 52 test_error( error, "Creating test array failed" ); in create_and_execute_kernel() 55 test_error( error, "Creating test array failed" ); in create_and_execute_kernel() 59 test_error( error, "Unable to set kernel arguments" ); in create_and_execute_kernel() 61 test_error( error, "Unable to set kernel arguments" ); in create_and_execute_kernel() 64 test_error( error, "Unable to execute test kernel" ); in create_and_execute_kernel() 102 test_error( error, "Unable to wait for event" ); in test_event_get_execute_status() 105 test_error( error, "Calling clGetEventStatus to wait for event completion failed" ); in test_event_get_execute_status() 125 test_error( error, "Unable to get event info!" ); in test_event_get_info() 135 test_error( error, "Unable to get event info!" ); in test_event_get_info() [all …]
|
D | test_waitlists.cpp | 38 test_error( error, "Unable to setup base event to wait against" ); in test_waitlist() 44 test_error( error, "Unable to setup second base event to wait against" ); in test_waitlist() 49 test_error( error, "Unable to set up test event" ); in test_waitlist() 54 test_error( error, "Unable to execute first event" ); in test_waitlist() 60 test_error( error, "Unable to execute second event" ); in test_waitlist() 67 test_error( error, "Unable to get event status" ); in test_waitlist() 71 test_error( error, "Unable to get event status" ); in test_waitlist() 84 test_error( error, "Unable to execute test event" ); in test_waitlist() 89 test_error( error, "Unable to get event status" ); in test_waitlist() 93 test_error( error, "Unable to get event status" ); in test_waitlist() [all …]
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_migrate.cpp | 59 test_error(error, "clGetEventInfo failed"); in wait_and_release() 66 test_error(error, "clWaitForEvents failed"); in wait_and_release() 70 test_error(error, "clReleaseEvent failed"); in wait_and_release() 106 test_error(error, "clGetCommandQueueInfo failed"); in test_svm_migrate() 110 test_error(error, "clGetCommandQueueInfo failed"); in test_svm_migrate() 114 test_error(error, "clCteateCommandQueueWithProperties failed"); in test_svm_migrate() 118 test_error(error, "clCreateKernel failed"); in test_svm_migrate() 142 test_error(error, "clSetKernelArgSVMPointer failed"); in test_svm_migrate() 145 test_error(error, "clSetKernelArgSVMPointer failed"); in test_svm_migrate() 148 test_error(error, "clSetKernelArgSVMPointer failed"); in test_svm_migrate() [all …]
|
D | test_set_kernel_exec_info_svm_ptrs.cpp | 60 test_error(error, "clCreateKernel failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 75 test_error(error, "clCreateBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 77 test_error(error, "clCreateBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 79 test_error(error, "clCreateBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 81 test_error(error, "clCreateBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 84 test_error(error, "clEnqueueMapBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 86 test_error(error, "clEnqueueMapBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 88 test_error(error, "clEnqueueMapBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 90 test_error(error, "clEnqueueMapBuffer failed"); in test_svm_set_kernel_exec_info_svm_ptrs() 99 test_error(error, " clEnqueueUnmapMemObject failed."); in test_svm_set_kernel_exec_info_svm_ptrs() [all …]
|
D | test_shared_address_space_coarse_grain.cpp | 43 test_error(error, "clEnqueueUnmapMemObject failed."); in create_linked_lists_on_host() 48 test_error(error, "clEnqueueSVMUnmap failed."); in create_linked_lists_on_host() 52 test_error(error, "clFinish failed."); in create_linked_lists_on_host() 83 test_error(error, "clEnqueueUnmapMemObject failed."); in verify_linked_lists_on_host() 88 test_error(error, "clEnqueueSVMUnmap failed."); in verify_linked_lists_on_host() 92 test_error(error, "clFinish failed."); in verify_linked_lists_on_host() 106 test_error(error, " clEnqueueUnmapMemObject failed."); in create_linked_lists_on_device() 109 test_error(error, "clEnqueueNDRange failed."); in create_linked_lists_on_device() 111 test_error(error, "clFinish failed."); in create_linked_lists_on_device() 128 test_error(error, "clEnqueueUnmapMemObject failed."); in verify_linked_lists_on_device() [all …]
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | checker_image_mem_host_write_only.hpp | 58 test_error(err, "clCreateImage error"); in Setup_Test_Environment() 83 test_error(err, "clEnqueueCopyImage error"); in update_host_mem_2() 87 test_error(err, "clWaitForEvents error"); in update_host_mem_2() 91 test_error(err, "clReleaseEvent error"); in update_host_mem_2() 99 test_error(err, "clEnqueueReadImage error"); in update_host_mem_2() 103 test_error(err, "clWaitForEvents error"); in update_host_mem_2() 107 test_error(err, "clReleaseEvent error"); in update_host_mem_2() 157 test_error(err, "clWaitForEvents error"); in verify_RW_Image() 159 test_error(err, "clEnqueueFillImage error"); in verify_RW_Image() 162 test_error(err, "clReleaseEvent error"); in verify_RW_Image() [all …]
|
D | mem_host_buffer.cpp | 49 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW() 52 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW() 79 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW_Rect() 82 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW_Rect() 109 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW_Mapping() 112 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer_RW_Mapping() 133 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer() 137 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer() 141 test_error(err, __FUNCTION__); in test_mem_host_read_only_buffer() 166 test_error(err, __FUNCTION__); in test_mem_host_read_only_subbuffer() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_kernel_call_kernel_function.cpp | 106 test_error(error, "clCreateKernel failed"); in test_kernel_call_kernel_function() 110 test_error( error, "clCreateBuffer failed" ); in test_kernel_call_kernel_function() 112 test_error( error, "clCreateBuffer failed" ); in test_kernel_call_kernel_function() 115 test_error( error, "clSetKernelArg failed" ); in test_kernel_call_kernel_function() 117 test_error( error, "clSetKernelArg failed" ); in test_kernel_call_kernel_function() 119 test_error( error, "clSetKernelArg failed" ); in test_kernel_call_kernel_function() 122 test_error( error, "clEnqueueNDRangeKernel failed" ); in test_kernel_call_kernel_function() 125 test_error( error, "clEnqueueReadBuffer failed" ); in test_kernel_call_kernel_function() 154 test_error(error, "clEnqueueWriteBuffer failed"); in test_kernel_call_kernel_function() 156 test_error(error, "clEnqueueWriteBuffer failed"); in test_kernel_call_kernel_function() [all …]
|
D | test_numeric_constants.cpp | 247 test_error( error, "Creating test array failed" ); in test_kernel_numeric_constants() 250 test_error( error, "Creating test array failed" ); in test_kernel_numeric_constants() 253 test_error( error, "Creating test array failed" ); in test_kernel_numeric_constants() 256 test_error( error, "Unable to set indexed kernel arguments" ); in test_kernel_numeric_constants() 258 test_error( error, "Unable to set indexed kernel arguments" ); in test_kernel_numeric_constants() 260 test_error( error, "Unable to set indexed kernel arguments" ); in test_kernel_numeric_constants() 263 test_error( error, "Kernel execution failed" ); in test_kernel_numeric_constants() 266 test_error( error, "Unable to get result data" ); in test_kernel_numeric_constants() 268 test_error( error, "Unable to get result data" ); in test_kernel_numeric_constants() 270 test_error( error, "Unable to get result data" ); in test_kernel_numeric_constants() [all …]
|
D | test_kernel_memory_alignment.cpp | 182 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 185 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 187 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 189 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 191 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 193 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 195 test_error(error, "clCreateBuffer failed"); in test_kernel_memory_alignment() 265 test_error(error, "create_single_kernel_helper failed"); in test_kernel_memory_alignment() 270 test_error(error, "clEnqueueWriteBuffer failed"); in test_kernel_memory_alignment() 274 test_error(error, "clSetKernelArg failed"); in test_kernel_memory_alignment() [all …]
|