• Home
  • Raw
  • Download

Lines Matching refs:asvm

120     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()
229 error = clEnqueueSVMUnmap(queues[1], (void *)asvm, 0, NULL, &evs[0]); in test_svm_migrate()
242 char *ptrs[] = { asvm+100, bsvm+17, csvm+1000, asvm+101, bsvm+19, csvm+1017 }; in test_svm_migrate()
254 char *ptrs[] = { asvm+8, bsvm+17, csvm+31, csvm+83 }; in test_svm_migrate()
266 char *ptrs[] = { asvm+64, asvm+128, bsvm+64, bsvm+128, csvm, csvm+64 }; in test_svm_migrate()
278 char *ptrs[] = { asvm, asvm, bsvm, csvm, csvm }; in test_svm_migrate()
289 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_READ, (void*)asvm, global_size*sizeof(cl_uint)… in test_svm_migrate()
310 bool ok = check("memory a", (cl_uint *)asvm, amem, global_size); in test_svm_migrate()
315 void *ptrs[] = { asvm, bsvm, csvm }; in test_svm_migrate()
317 error = clEnqueueSVMUnmap(queues[1], (void *)asvm, 0, NULL, &evs[0]); in test_svm_migrate()