Searched refs:bsvm (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_migrate.cpp | 126 char* bsvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate() local 127 if (bsvm == NULL) { in test_svm_migrate() 136 clSVMFree(context, bsvm); in test_svm_migrate() 144 error = clSetKernelArgSVMPointer(kernel, 1, (void*)bsvm); in test_svm_migrate() 162 …error = clEnqueueSVMMemFill(queues[0], (void *)bsvm, 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() 189 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)bsvm, global_size*sizeof(cl_uint… in test_svm_migrate() 225 memcpy((void *)bsvm, (void *)bmem, global_size*sizeof(cl_uint)); in test_svm_migrate() 232 error = clEnqueueSVMUnmap(queues[1], (void *)bsvm, 0, NULL, &evs[1]); in test_svm_migrate() [all …]
|