// Create a device pointer for #if ZEROCOPY == 1 cl_mem device_ = clCreateBuffer(bones_context, CL_MEM_READ_WRITE|CL_MEM_USE_HOST_PTR, *sizeof(), , &bones_errors); error_check(bones_errors); #elif ZEROCOPY == 0 cl_mem device_ = clCreateBuffer(bones_context, CL_MEM_READ_WRITE, *sizeof(), NULL, &bones_errors); error_check(bones_errors); #endif