Searched refs:csvm (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_migrate.cpp | 133 char* csvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate() local 134 if (csvm == NULL) { in test_svm_migrate() 147 error = clSetKernelArgSVMPointer(kernel, 2, (void*)csvm); in test_svm_migrate() 165 …error = clEnqueueSVMMemFill(queues[0], (void *)csvm, 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() 192 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)csvm, global_size*sizeof(cl_uint… in test_svm_migrate() 226 memcpy((void *)csvm, (void *)cmem, global_size*sizeof(cl_uint)); in test_svm_migrate() 235 error = clEnqueueSVMUnmap(queues[1], (void *)csvm, 0, NULL, &evs[2]); in test_svm_migrate() 242 char *ptrs[] = { asvm+100, bsvm+17, csvm+1000, asvm+101, bsvm+19, csvm+1017 }; in test_svm_migrate() [all …]
|