• Home
  • Raw
  • Download

Lines Matching full:streams

72     cl_mem streams[2];  in test_imagedim_pow2()  local
168 streams[0] = in test_imagedim_pow2()
171 if (!streams[0]) in test_imagedim_pow2()
181 streams[1] = in test_imagedim_pow2()
184 if (!streams[1]) in test_imagedim_pow2()
187 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
196 …err = clEnqueueWriteImage(queue, streams[0], CL_FALSE, origin, region, 0, 0, input_ptr, 0, NULL, N… in test_imagedim_pow2()
200 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
201 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
208 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0]); in test_imagedim_pow2()
209 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1]); in test_imagedim_pow2()
214 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
215 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
231 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
232 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
238 …err = clEnqueueReadImage(queue, streams[1], CL_TRUE, origin, region, 0, 0, output_ptr, 0, NULL, NU… in test_imagedim_pow2()
244 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
245 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
258 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
259 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
279 cl_mem streams[2]; in test_imagedim_non_pow2() local
413 streams[0] = create_image_2d( in test_imagedim_non_pow2()
416 if (!streams[0]) in test_imagedim_non_pow2()
426 streams[1] = create_image_2d( in test_imagedim_non_pow2()
429 if (!streams[1]) in test_imagedim_non_pow2()
432 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
441 …err = clEnqueueWriteImage(queue, streams[0], CL_FALSE, origin, region, 0, 0, input_ptr, 0, NULL, N… in test_imagedim_non_pow2()
445 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
446 clReleaseMemObject(streams[1]); in test_imagedim_non_pow2()
453 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0]); in test_imagedim_non_pow2()
454 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1]); in test_imagedim_non_pow2()
459 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
460 clReleaseMemObject(streams[1]); in test_imagedim_non_pow2()
477 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
478 clReleaseMemObject(streams[1]); in test_imagedim_non_pow2()
484 …err = clEnqueueReadImage(queue, streams[1], CL_TRUE, origin, region, 0, 0, output_ptr, 0, NULL, NU… in test_imagedim_non_pow2()
490 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
491 clReleaseMemObject(streams[1]); in test_imagedim_non_pow2()
504 clReleaseMemObject(streams[0]); in test_imagedim_non_pow2()
505 clReleaseMemObject(streams[1]); in test_imagedim_non_pow2()