• Home
  • Raw
  • Download

Lines Matching refs:csvm

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()
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()
295 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_READ, (void*)csvm, global_size*sizeof(cl_uint)… in test_svm_migrate()
312 ok &= check("memory c", (cl_uint *)csvm, cmem, global_size); in test_svm_migrate()
315 void *ptrs[] = { asvm, bsvm, csvm }; in test_svm_migrate()
323 error = clEnqueueSVMUnmap(queues[1], (void *)csvm, 0, NULL, &evs[2]); in test_svm_migrate()