Searched refs:imageC (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_image_migrate.cpp | 130 cl_mem *imageA, *imageB, *imageC; in test_image_migrate() local 165 imageC = (cl_mem *)malloc(max_sub_devices * sizeof(cl_mem)); in test_image_migrate() 169 (imageA == NULL) || (imageB == NULL) || (imageC == NULL)) { in test_image_migrate() 178 imageA[i] = imageB[i] = imageC[i] = NULL; in test_image_migrate() 281 imageC[i] = create_image_2d(ctx, (CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR), in test_image_migrate() 284 if ((imageA[i] == NULL) || (imageB[i] == NULL) || (imageC[i] == NULL)) { in test_image_migrate() 302 … if (migrateMemObject(migrateC, queues, imageC, num_devices_limited, flagsC, d) != CL_SUCCESS) { in test_image_migrate() 317 … if ((err = clSetKernelArg(kernel, 0, sizeof(cl_mem), (const void *)&imageC[i])) != CL_SUCCESS) { in test_image_migrate() 359 if ((err = clEnqueueReadImage(queues[i], imageC[i], CL_TRUE, in test_image_migrate() 408 if (imageC[i]) { in test_image_migrate() [all …]
|