Searched refs:pBufData1 (Results 1 – 1 of 1) sorted by relevance
74 cl_char *pBufData1 = (cl_char*) clSVMAlloc(context, flag_set[i], size, 0); in test_svm_allocate_shared_buffer() local75 if(pBufData1 == NULL) in test_svm_allocate_shared_buffer()82 clMemWrapper buf = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, size, pBufData1, &err); in test_svm_allocate_shared_buffer()95 if(pBufData2 != pBufData1 || NULL == pBufData1) in test_svm_allocate_shared_buffer()107 clSVMFree(context, pBufData1); in test_svm_allocate_shared_buffer()