This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void * clSVMAlloc (cl_context context, cl_svm_mem_flags flags, size_t size, unsigned int alignment) { | |
// flgs <- flags (some trnasform) | |
return clCreateBuffer (context, flags, size, NULL, NULL); | |
} | |
// ? | |
void clSVMFree (cl_context context, void * svm_pointer); | |
// ? |