Searched refs:pbuf_svm_alloc (Results 1 – 1 of 1) sorted by relevance
53 …cl_uchar *pbuf_svm_alloc = (cl_uchar*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_uchar)*buf… in test_svm_pointer_passing() local59 …f = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(cl_uchar)*bufSize, pbuf_svm_alloc, &error); in test_svm_pointer_passing()84 cl_uchar* pChar = &pbuf_svm_alloc[i]; in test_svm_pointer_passing()111 clSVMFree(context, pbuf_svm_alloc); in test_svm_pointer_passing()