/external/OpenCL-CTS/test_conformance/api/ |
D | test_clone_kernel.cpp | 158 error = clSetKernelArg(kernel_write, 1, sizeof(int) * 4, color); in test_image_arg_shallow_clone() 159 error += clSetKernelArg(kernel_write, 0, sizeof(cl_mem), &img); in test_image_arg_shallow_clone() 165 error = clSetKernelArg(kernel_read, 0, sizeof(cl_mem), &img); in test_image_arg_shallow_clone() 166 error += clSetKernelArg(kernel_read, 1, sizeof(cl_sampler), &sampler); in test_image_arg_shallow_clone() 167 error += clSetKernelArg(kernel_read, 2, sizeof(cl_mem), &bufOut); in test_image_arg_shallow_clone() 222 error = clSetKernelArg(kernel, 0, sizeof(double), &d); in test_double_arg_clone() 223 error += clSetKernelArg(kernel, 1, sizeof(cl_mem), &bufOut); in test_double_arg_clone() 315 error = clSetKernelArg(kernel, 0, sizeof(int), &intarg); in test_clone_kernel() 316 error += clSetKernelArg(kernel, 1, sizeof(float), &farg); in test_clone_kernel() 317 error += clSetKernelArg(kernel, 2, sizeof(structArg), &sa); in test_clone_kernel() [all …]
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_shared_sub_buffers.cpp | 193 error |= clSetKernelArg(kernel_create_lists, 0, sizeof(void*), (void *) &nodes_sb1); in test_svm_shared_sub_buffers() 194 error |= clSetKernelArg(kernel_create_lists, 1, sizeof(void*), (void *) &nodes2_sb1); in test_svm_shared_sub_buffers() 195 error |= clSetKernelArg(kernel_create_lists, 2, sizeof(void*), (void *) &nodes_sb2); in test_svm_shared_sub_buffers() 196 error |= clSetKernelArg(kernel_create_lists, 3, sizeof(void*), (void *) &nodes2_sb2); in test_svm_shared_sub_buffers() 197 error |= clSetKernelArg(kernel_create_lists, 4, sizeof(void*), (void *) &allocator); in test_svm_shared_sub_buffers() 198 error |= clSetKernelArg(kernel_create_lists, 5, sizeof(cl_int),(void *) &ListLength); in test_svm_shared_sub_buffers() 200 error |= clSetKernelArg(kernel_verify_lists, 0, sizeof(void*), (void *) &nodes_sb1); in test_svm_shared_sub_buffers() 201 error |= clSetKernelArg(kernel_verify_lists, 1, sizeof(void*), (void *) &nodes2_sb1); in test_svm_shared_sub_buffers() 202 error |= clSetKernelArg(kernel_verify_lists, 2, sizeof(void*), (void *) &nodes_sb2); in test_svm_shared_sub_buffers() 203 error |= clSetKernelArg(kernel_verify_lists, 3, sizeof(void*), (void *) &nodes2_sb2); in test_svm_shared_sub_buffers() [all …]
|
D | test_cross_buffer_pointers.cpp | 173 error |= clSetKernelArg(kernel_create_lists, 0, sizeof(void*), (void *) &nodes); in test_svm_cross_buffer_pointers_coarse_grain() 175 error |= clSetKernelArg(kernel_create_lists, 1, sizeof(void*), (void *) &nodes2); in test_svm_cross_buffer_pointers_coarse_grain() 176 error |= clSetKernelArg(kernel_create_lists, 2, sizeof(void*), (void *) &allocator); in test_svm_cross_buffer_pointers_coarse_grain() 177 error |= clSetKernelArg(kernel_create_lists, 3, sizeof(cl_int), (void *) &ListLength); in test_svm_cross_buffer_pointers_coarse_grain() 179 error |= clSetKernelArg(kernel_verify_lists, 0, sizeof(void*), (void *) &nodes); in test_svm_cross_buffer_pointers_coarse_grain() 180 error |= clSetKernelArg(kernel_verify_lists, 1, sizeof(void*), (void *) &nodes2); in test_svm_cross_buffer_pointers_coarse_grain() 181 error |= clSetKernelArg(kernel_verify_lists, 2, sizeof(void*), (void *) &num_correct); in test_svm_cross_buffer_pointers_coarse_grain() 182 error |= clSetKernelArg(kernel_verify_lists, 3, sizeof(cl_int), (void *) &ListLength); in test_svm_cross_buffer_pointers_coarse_grain()
|
/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_limits.cpp | 229 err = clSetKernelArg(kernel[0], 0, sizeof(cl_mem), (void*)&buffers[0]); in test_pipe_max_args() 231 err |= clSetKernelArg(kernel[0], i+1, sizeof(cl_mem), (void*)&pipes[i]); in test_pipe_max_args() 233 err |= clSetKernelArg(kernel[0], max_pipe_args + 1, sizeof(int), (void*)&max_pipe_args); in test_pipe_max_args() 234 err |= clSetKernelArg(kernel[1], 0, sizeof(cl_mem), (void*)&buffers[1]); in test_pipe_max_args() 236 err |= clSetKernelArg(kernel[1], i+1, sizeof(cl_mem), (void*)&pipes[i]); in test_pipe_max_args() 238 err |= clSetKernelArg(kernel[1], max_pipe_args + 1, sizeof(int), (void*)&max_pipe_args); in test_pipe_max_args() 378 err = clSetKernelArg(kernel[0], 0, sizeof(cl_mem), (void*)&buffers[0]); in test_pipe_max_packet_size() 379 err |= clSetKernelArg(kernel[0], 1, sizeof(cl_mem), (void*)&pipe); in test_pipe_max_packet_size() 380 err |= clSetKernelArg(kernel[1], 0, sizeof(cl_mem), (void*)&pipe); in test_pipe_max_packet_size() 381 err |= clSetKernelArg(kernel[1], 1, sizeof(cl_mem), (void*)&buffers[1]); in test_pipe_max_packet_size() [all …]
|
D | test_pipe_readwrite_errors.cpp | 127 err = clSetKernelArg(kernel[0], 0, sizeof(cl_mem), (void*)&buffers[0]); in test_pipe_readwrite_errors() 128 err |= clSetKernelArg(kernel[0], 1, sizeof(cl_mem), (void*)&pipe); in test_pipe_readwrite_errors() 129 err |= clSetKernelArg(kernel[0], 2, sizeof(cl_mem), (void*)&buffers[2]); in test_pipe_readwrite_errors() 130 err |= clSetKernelArg(kernel[1], 0, sizeof(cl_mem), (void*)&pipe); in test_pipe_readwrite_errors() 131 err |= clSetKernelArg(kernel[1], 1, sizeof(cl_mem), (void*)&buffers[1]); in test_pipe_readwrite_errors() 132 err |= clSetKernelArg(kernel[1], 2, sizeof(cl_mem), (void*)&buffers[2]); in test_pipe_readwrite_errors()
|
D | test_pipe_query_functions.cpp | 156 err = clSetKernelArg(kernel[0], 0, sizeof(cl_mem), (void*)&buffers[0]); in test_pipe_query_functions() 157 err |= clSetKernelArg(kernel[0], 1, sizeof(cl_mem), (void*)&pipe); in test_pipe_query_functions() 158 err |= clSetKernelArg(kernel[1], 0, sizeof(cl_mem), (void*)&pipe); in test_pipe_query_functions() 159 err |= clSetKernelArg(kernel[1], 1, sizeof(cl_mem), (void*)&buffers[1]); in test_pipe_query_functions() 160 err |= clSetKernelArg(kernel[2], 0, sizeof(cl_mem), (void*)&pipe); in test_pipe_query_functions() 161 err |= clSetKernelArg(kernel[2], 1, sizeof(cl_mem), (void*)&buffers[2]); in test_pipe_query_functions() 162 err |= clSetKernelArg(kernel[2], 2, sizeof(cl_mem), (void*)&buffers[3]); in test_pipe_query_functions()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_image_multipass.cpp | 302 err = clSetKernelArg(kernel[0], 0, sizeof input_streams[0], &input_streams[0]); in test_image_multipass_integer_coord() 303 err |= clSetKernelArg(kernel[0], 1, sizeof accum_streams[0], &accum_streams[0]); in test_image_multipass_integer_coord() 304 err |= clSetKernelArg(kernel[0], 2, sizeof sampler, &sampler); in test_image_multipass_integer_coord() 322 err = clSetKernelArg(kernel[1], 0, sizeof accum_input, &accum_input); in test_image_multipass_integer_coord() 323 err |= clSetKernelArg(kernel[1], 1, sizeof input_streams[i], &input_streams[i]); in test_image_multipass_integer_coord() 324 err |= clSetKernelArg(kernel[1], 2, sizeof accum_output, &accum_output); in test_image_multipass_integer_coord() 325 err |= clSetKernelArg(kernel[1], 3, sizeof sampler, &sampler); in test_image_multipass_integer_coord() 343 err = clSetKernelArg(kernel[0], 0, sizeof accum_input, &accum_input); in test_image_multipass_integer_coord() 344 err |= clSetKernelArg(kernel[0], 1, sizeof accum_output, &accum_output); in test_image_multipass_integer_coord() 543 err = clSetKernelArg(kernel[0], 0, sizeof input_streams[0], &input_streams[0]); in test_image_multipass_float_coord() [all …]
|
D | test_basic_parameter_types.cpp | 140 error = clSetKernelArg( in test_parameter_types_long() 145 error = clSetKernelArg( in test_parameter_types_long() 156 error = clSetKernelArg(kernel, 2, sizeof(cl_mem), &results); in test_parameter_types_long() 305 error = clSetKernelArg( in test_parameter_types() 310 error = clSetKernelArg( in test_parameter_types() 315 error = clSetKernelArg( in test_parameter_types() 320 error = clSetKernelArg( in test_parameter_types() 325 error = clSetKernelArg(kernel, count, in test_parameter_types() 330 error = clSetKernelArg( in test_parameter_types() 335 error = clSetKernelArg( in test_parameter_types() [all …]
|
D | test_kernel_call_kernel_function.cpp | 114 error = clSetKernelArg(kernel1, 0, sizeof( streams[0] ), &streams[0]); in test_kernel_call_kernel_function() 116 error = clSetKernelArg(kernel1, 1, sizeof( streams[1] ), &streams[1]); in test_kernel_call_kernel_function() 118 error = clSetKernelArg(kernel1, 2, sizeof( times ), ×); in test_kernel_call_kernel_function() 161 error = clSetKernelArg(kernel2, 0, sizeof( streams[0] ), &streams[0]); in test_kernel_call_kernel_function() 163 error = clSetKernelArg(kernel2, 1, sizeof( streams[1] ), &streams[1]); in test_kernel_call_kernel_function() 165 error = clSetKernelArg(kernel2, 2, sizeof( times ), ×); in test_kernel_call_kernel_function() 216 error = clSetKernelArg(kernel_to_call, 0, sizeof( streams[1] ), &streams[1]); in test_kernel_call_kernel_function() 218 error = clSetKernelArg(kernel_to_call, 1, sizeof( streams[0] ), &streams[0]); in test_kernel_call_kernel_function() 220 error = clSetKernelArg(kernel_to_call, 2, sizeof( times ), ×); in test_kernel_call_kernel_function()
|
D | test_fpmath_float.cpp | 200 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float() 201 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float() 202 err |= clSetKernelArg(kernel[0], 2, sizeof streams[3], &streams[3]); in test_fpmath_float() 205 err = clSetKernelArg(kernel[1], 0, sizeof streams[0], &streams[0]); in test_fpmath_float() 206 err |= clSetKernelArg(kernel[1], 1, sizeof streams[1], &streams[1]); in test_fpmath_float() 207 err |= clSetKernelArg(kernel[1], 2, sizeof streams[3], &streams[3]); in test_fpmath_float() 210 err = clSetKernelArg(kernel[2], 0, sizeof streams[0], &streams[0]); in test_fpmath_float() 211 err |= clSetKernelArg(kernel[2], 1, sizeof streams[1], &streams[1]); in test_fpmath_float() 212 err |= clSetKernelArg(kernel[2], 2, sizeof streams[3], &streams[3]); in test_fpmath_float()
|
D | test_fpmath_float2.cpp | 199 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float2() 200 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float2() 201 err |= clSetKernelArg(kernel[0], 2, sizeof streams[3], &streams[3]); in test_fpmath_float2() 204 err = clSetKernelArg(kernel[1], 0, sizeof streams[0], &streams[0]); in test_fpmath_float2() 205 err |= clSetKernelArg(kernel[1], 1, sizeof streams[1], &streams[1]); in test_fpmath_float2() 206 err |= clSetKernelArg(kernel[1], 2, sizeof streams[3], &streams[3]); in test_fpmath_float2() 209 err = clSetKernelArg(kernel[2], 0, sizeof streams[0], &streams[0]); in test_fpmath_float2() 210 err |= clSetKernelArg(kernel[2], 1, sizeof streams[1], &streams[1]); in test_fpmath_float2() 211 err |= clSetKernelArg(kernel[2], 2, sizeof streams[3], &streams[3]); in test_fpmath_float2()
|
D | test_fpmath_float4.cpp | 201 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float4() 202 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float4() 203 err |= clSetKernelArg(kernel[0], 2, sizeof streams[3], &streams[3]); in test_fpmath_float4() 206 err = clSetKernelArg(kernel[1], 0, sizeof streams[0], &streams[0]); in test_fpmath_float4() 207 err |= clSetKernelArg(kernel[1], 1, sizeof streams[1], &streams[1]); in test_fpmath_float4() 208 err |= clSetKernelArg(kernel[1], 2, sizeof streams[3], &streams[3]); in test_fpmath_float4() 211 err = clSetKernelArg(kernel[2], 0, sizeof streams[0], &streams[0]); in test_fpmath_float4() 212 err |= clSetKernelArg(kernel[2], 1, sizeof streams[1], &streams[1]); in test_fpmath_float4() 213 err |= clSetKernelArg(kernel[2], 2, sizeof streams[3], &streams[3]); in test_fpmath_float4()
|
D | test_kernel_memory_alignment.cpp | 273 error = clSetKernelArg(kernel, 0, sizeof(results), &results); in test_kernel_memory_alignment() 276 error = clSetKernelArg(kernel, 1, sizeof(mem0), &mem0); in test_kernel_memory_alignment() 278 error = clSetKernelArg(kernel, 2, sizeof(mem2), &mem2); in test_kernel_memory_alignment() 280 error = clSetKernelArg(kernel, 3, sizeof(mem3), &mem3); in test_kernel_memory_alignment() 282 error = clSetKernelArg(kernel, 4, sizeof(mem4), &mem4); in test_kernel_memory_alignment() 284 error = clSetKernelArg(kernel, 5, sizeof(mem8), &mem8); in test_kernel_memory_alignment() 286 error = clSetKernelArg(kernel, 6, sizeof(mem16), &mem16); in test_kernel_memory_alignment() 289 error = clSetKernelArg(kernel, 1, get_explicit_type_size(vecType[typeIndex]), NULL); in test_kernel_memory_alignment() 291 … error = clSetKernelArg(kernel, 2, get_explicit_type_size(vecType[typeIndex])*2, NULL); in test_kernel_memory_alignment() 293 … error = clSetKernelArg(kernel, 3, get_explicit_type_size(vecType[typeIndex])*4, NULL); in test_kernel_memory_alignment() [all …]
|
D | test_writeimage.cpp | 252 err = clSetKernelArg(kernel[0], 0, sizeof streams[4], &streams[4]); in test_writeimage() 253 err |= clSetKernelArg(kernel[0], 1, sizeof streams[0], &streams[0]); in test_writeimage() 261 err = clSetKernelArg(kernel[1], 0, sizeof streams[5], &streams[5]); in test_writeimage() 262 err |= clSetKernelArg(kernel[1], 1, sizeof streams[1], &streams[1]); in test_writeimage() 271 err = clSetKernelArg(kernel[2], 0, sizeof streams[4], &streams[4]); in test_writeimage() 272 err |= clSetKernelArg(kernel[2], 1, sizeof streams[2], &streams[2]); in test_writeimage() 280 err = clSetKernelArg(kernel[3], 0, sizeof streams[5], &streams[5]); in test_writeimage() 281 err |= clSetKernelArg(kernel[3], 1, sizeof streams[3], &streams[3]); in test_writeimage()
|
D | test_queue_priority.cpp | 279 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_queue_priority() 280 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_queue_priority() 281 err |= clSetKernelArg(kernel[0], 2, sizeof streams[3], &streams[3]); in test_queue_priority() 284 err = clSetKernelArg(kernel[1], 0, sizeof streams[0], &streams[0]); in test_queue_priority() 285 err |= clSetKernelArg(kernel[1], 1, sizeof streams[1], &streams[1]); in test_queue_priority() 286 err |= clSetKernelArg(kernel[1], 2, sizeof streams[3], &streams[3]); in test_queue_priority() 289 err = clSetKernelArg(kernel[2], 0, sizeof streams[0], &streams[0]); in test_queue_priority() 290 err |= clSetKernelArg(kernel[2], 1, sizeof streams[1], &streams[1]); in test_queue_priority() 291 err |= clSetKernelArg(kernel[2], 2, sizeof streams[3], &streams[3]); in test_queue_priority()
|
D | test_async_copy3D.cpp | 292 error = clSetKernelArg(kernel, 0, sizeof(streams[0]), &streams[0]); in test_copy3D() 294 error = clSetKernelArg(kernel, 1, sizeof(streams[1]), &streams[1]); in test_copy3D() 296 error = clSetKernelArg(kernel, 2, localBufferSize, NULL); in test_copy3D() 298 error = clSetKernelArg(kernel, 3, sizeof(numElementsPerLineInt), in test_copy3D() 301 error = clSetKernelArg(kernel, 4, sizeof(numLinesInt), &numLinesInt); in test_copy3D() 303 error = clSetKernelArg(kernel, 5, sizeof(planesCopiesPerWorkgroup), in test_copy3D() 306 error = clSetKernelArg(kernel, 6, sizeof(planesCopiesPerWorkItemInt), in test_copy3D() 309 error = clSetKernelArg(kernel, 7, sizeof(srcLineStride), &srcLineStride); in test_copy3D() 311 error = clSetKernelArg(kernel, 8, sizeof(dstLineStride), &dstLineStride); in test_copy3D() 313 error = clSetKernelArg(kernel, 9, sizeof(srcPlaneStride), &srcPlaneStride); in test_copy3D() [all …]
|
D | test_async_copy_fence.cpp | 519 error = clSetKernelArg(kernel, argIndex, sizeof(streams[0]), &streams[0]); in test_copy_fence() 522 error = clSetKernelArg(kernel, argIndex, sizeof(streams[1]), &streams[1]); in test_copy_fence() 528 clSetKernelArg(kernel, argIndex, sizeof(streams[2]), &streams[2]); in test_copy_fence() 535 clSetKernelArg(kernel, argIndex, sizeof(streams[3]), &streams[3]); in test_copy_fence() 539 error = clSetKernelArg(kernel, argIndex, transaction1LocalBufferSize, NULL); in test_copy_fence() 545 clSetKernelArg(kernel, argIndex, transaction2LocalBufferSize, NULL); in test_copy_fence() 550 clSetKernelArg(kernel, argIndex, sizeof(transaction1CopiesPerWorkgroup), in test_copy_fence() 554 error = clSetKernelArg(kernel, argIndex, in test_copy_fence() 560 clSetKernelArg(kernel, argIndex, sizeof(transaction2CopiesPerWorkgroup), in test_copy_fence() 564 error = clSetKernelArg(kernel, argIndex, in test_copy_fence()
|
D | test_local.cpp | 186 err = clSetKernelArg(kernel, 0, sizeof(streams[0]), &streams[0]); in test_local_arg_def() 187 err |= clSetKernelArg(kernel, 1, sizeof num_elements, &num_elements); in test_local_arg_def() 188 err |= clSetKernelArg(kernel, 2, wgsize * sizeof(cl_int), NULL); in test_local_arg_def() 189 err |= clSetKernelArg(kernel, 3, sizeof streams[1], &streams[1]); in test_local_arg_def() 320 err = clSetKernelArg(kernel, 0, sizeof(streams[0]), &streams[0]); in test_local_kernel_def() 321 err |= clSetKernelArg(kernel, 1, sizeof num_elements, &num_elements); in test_local_kernel_def() 322 err |= clSetKernelArg(kernel, 2, sizeof streams[1], &streams[1]); in test_local_kernel_def()
|
D | test_readimage.cpp | 217 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_readimage() 218 err |= clSetKernelArg(kernel[0], 1, sizeof streams[2], &streams[2]); in test_readimage() 219 err |= clSetKernelArg(kernel[0], 2, sizeof sampler, &sampler); in test_readimage() 227 err = clSetKernelArg(kernel[1], 0, sizeof streams[1], &streams[1]); in test_readimage() 228 err |= clSetKernelArg(kernel[1], 1, sizeof streams[2], &streams[2]); in test_readimage() 229 err |= clSetKernelArg(kernel[1], 2, sizeof sampler, &sampler); in test_readimage()
|
D | test_constant.cpp | 192 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0]); in test_constant() 193 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1]); in test_constant() 194 err |= clSetKernelArg(kernel, 2, sizeof streams[2], &streams[2]); in test_constant() 240 err = clSetKernelArg(loop_kernel, 0, sizeof streams[0], &streams[0]); in test_constant() 241 err |= clSetKernelArg(loop_kernel, 1, sizeof streams[1], &streams[1]); in test_constant() 242 err |= clSetKernelArg(loop_kernel, 2, sizeof(limit), &limit); in test_constant()
|
D | test_async_copy2D.cpp | 272 error = clSetKernelArg(kernel, 0, sizeof(streams[0]), &streams[0]); in test_copy2D() 274 error = clSetKernelArg(kernel, 1, sizeof(streams[1]), &streams[1]); in test_copy2D() 276 error = clSetKernelArg(kernel, 2, localBufferSize, NULL); in test_copy2D() 278 error = clSetKernelArg(kernel, 3, sizeof(numElementsPerLineInt), in test_copy2D() 281 error = clSetKernelArg(kernel, 4, sizeof(lineCopiesPerWorkgroup), in test_copy2D() 284 error = clSetKernelArg(kernel, 5, sizeof(lineCopiesPerWorkItemInt), in test_copy2D() 287 error = clSetKernelArg(kernel, 6, sizeof(srcStride), &srcStride); in test_copy2D() 289 error = clSetKernelArg(kernel, 7, sizeof(dstStride), &dstStride); in test_copy2D()
|
/external/OpenCL-CTS/test_conformance/vulkan/ |
D | test_vulkan_interop_buffer.cpp | 241 err = clSetKernelArg(update_buffer_kernel, 0, sizeof(uint32_t), in run_test_with_two_queue() 243 err |= clSetKernelArg(kernel_cq, 0, sizeof(uint32_t), in run_test_with_two_queue() 245 err |= clSetKernelArg(kernel_cq, 1, sizeof(cl_mem), in run_test_with_two_queue() 251 clSetKernelArg(update_buffer_kernel, i + 1, in run_test_with_two_queue() 256 clSetKernelArg(kernel_cq, 2, sizeof(cl_mem), in run_test_with_two_queue() 324 err = clSetKernelArg(verify_kernel, 0, sizeof(cl_mem), in run_test_with_two_queue() 327 clSetKernelArg(verify_kernel, 1, sizeof(int), &bufferSize); in run_test_with_two_queue() 328 err |= clSetKernelArg(verify_kernel, 2, sizeof(int), in run_test_with_two_queue() 330 err |= clSetKernelArg(verify_kernel, 3, sizeof(cl_mem), in run_test_with_two_queue() 540 err = clSetKernelArg(update_buffer_kernel, 0, sizeof(uint32_t), in run_test_with_one_queue() [all …]
|
/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_op_vector_times_scalar.cpp | 92 err = clSetKernelArg(kernel, 0, sizeof(cl_mem), &ref); in test_vector_times_scalar() 95 err = clSetKernelArg(kernel, 1, sizeof(cl_mem), &lhs); in test_vector_times_scalar() 98 err = clSetKernelArg(kernel, 2, sizeof(cl_mem), &rhs); in test_vector_times_scalar() 123 err = clSetKernelArg(kernel, 0, sizeof(cl_mem), &res); in test_vector_times_scalar() 126 err = clSetKernelArg(kernel, 1, sizeof(cl_mem), &lhs); in test_vector_times_scalar() 129 err = clSetKernelArg(kernel, 2, sizeof(cl_mem), &rhs); in test_vector_times_scalar()
|
D | test_op_fmath.cpp | 97 err = clSetKernelArg(kernel, 0, sizeof(cl_mem), &ref); in test_fmath() 100 err = clSetKernelArg(kernel, 1, sizeof(cl_mem), &lhs); in test_fmath() 103 err = clSetKernelArg(kernel, 2, sizeof(cl_mem), &rhs); in test_fmath() 124 err = clSetKernelArg(kernel, 0, sizeof(cl_mem), &res); in test_fmath() 127 err = clSetKernelArg(kernel, 1, sizeof(cl_mem), &lhs); in test_fmath() 130 err = clSetKernelArg(kernel, 2, sizeof(cl_mem), &rhs); in test_fmath()
|
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 355 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel() 356 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(ChannelType),&channel); in LaunchHistogramKernel() 357 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&colorspace); in LaunchHistogramKernel() 358 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&method); in LaunchHistogramKernel() 359 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel() 1404 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage() 1405 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(ChannelType),&image->channel_mas… in ComputeContrastStretchImage() 1406 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage() 1407 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&white); in ComputeContrastStretchImage() 1408 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&black); in ComputeContrastStretchImage() [all …]
|