• Home
  • Raw
  • Download

Lines Matching full:streams

179     clMemWrapper            streams[2];  in test_execute_kernel_local_sizes()  local
194 /* Create some I/O streams */ in test_execute_kernel_local_sizes()
195 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_execute_kernel_local_sizes()
198 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_execute_kernel_local_sizes()
206 error = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, in test_execute_kernel_local_sizes()
212 error = clSetKernelArg( kernel, 0, sizeof( streams[0] ), &streams[0] ); in test_execute_kernel_local_sizes()
214 error = clSetKernelArg( kernel, 1, sizeof( streams[1] ), &streams[1] ); in test_execute_kernel_local_sizes()
225 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
247 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
269 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
288 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
310 clMemWrapper streams[2]; in test_set_kernel_arg_by_index() local
325 /* Create some I/O streams */ in test_set_kernel_arg_by_index()
326 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_set_kernel_arg_by_index()
329 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_set_kernel_arg_by_index()
337 error = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, in test_set_kernel_arg_by_index()
343 error = clSetKernelArg(kernel, 1, sizeof( streams[1] ), &streams[1]); in test_set_kernel_arg_by_index()
345 error = clSetKernelArg(kernel, 0, sizeof( streams[0] ), &streams[0]); in test_set_kernel_arg_by_index()
358 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_set_kernel_arg_by_index()
380 clMemWrapper streams[3]; in test_set_kernel_arg_constant() local
406 /* Create some I/O streams */ in test_set_kernel_arg_constant()
415 streams[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_set_kernel_arg_constant()
419 streams[1] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_set_kernel_arg_constant()
423 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_set_kernel_arg_constant()
428 error = clSetKernelArg(kernel, 0, sizeof( streams[0] ), &streams[0]); in test_set_kernel_arg_constant()
430 error = clSetKernelArg(kernel, 1, sizeof( streams[1] ), &streams[1]); in test_set_kernel_arg_constant()
432 error = clSetKernelArg(kernel, 2, sizeof( streams[2] ), &streams[2]); in test_set_kernel_arg_constant()
445 error = clEnqueueReadBuffer(queue, streams[2], CL_TRUE, 0, in test_set_kernel_arg_constant()
467 clMemWrapper streams[2]; in test_set_kernel_arg_struct_array() local
490 /* Create some I/O streams */ in test_set_kernel_arg_struct_array()
499 streams[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_set_kernel_arg_struct_array()
503 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_set_kernel_arg_struct_array()
508 error = clSetKernelArg(kernel, 0, sizeof( streams[0] ), &streams[0]); in test_set_kernel_arg_struct_array()
510 error = clSetKernelArg(kernel, 1, sizeof( streams[1] ), &streams[1]); in test_set_kernel_arg_struct_array()
522 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_set_kernel_arg_struct_array()
573 clMemWrapper streams[2]; in test_kernel_global_constant() local
588 /* Create some I/O streams */ in test_kernel_global_constant()
596 streams[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_kernel_global_constant()
600 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_global_constant()
605 error = clSetKernelArg(kernel, 0, sizeof( streams[0] ), &streams[0]); in test_kernel_global_constant()
607 error = clSetKernelArg(kernel, 1, sizeof( streams[1] ), &streams[1]); in test_kernel_global_constant()
620 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_kernel_global_constant()