Home
last modified time | relevance | path

Searched refs:asvm (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_migrate.cpp120 char* asvm = (char*)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate() local
121 if (asvm == NULL) { in test_svm_migrate()
129 clSVMFree(context, asvm); in test_svm_migrate()
137 clSVMFree(context, asvm); in test_svm_migrate()
141 error = clSetKernelArgSVMPointer(kernel, 0, (void*)asvm); in test_svm_migrate()
159 …error = clEnqueueSVMMemFill(queues[0], (void *)asvm, patt, sizeof(patt), global_size*sizeof(cl_uin… in test_svm_migrate()
171 char* ptrs[] = { asvm, bsvm, csvm }; in test_svm_migrate()
178 char *ptrs[] = { asvm+1, bsvm+3, csvm+5 }; in test_svm_migrate()
186 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)asvm, global_size*sizeof(cl_uint… in test_svm_migrate()
224 memcpy((void *)asvm, (void *)amem, global_size*sizeof(cl_uint)); in test_svm_migrate()
[all …]