Commit 8ade176c authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Added CL_CALLBACK to errorCallback() for Windows compile

parent e69b1cca
...@@ -55,7 +55,7 @@ using namespace std; ...@@ -55,7 +55,7 @@ using namespace std;
const int OpenCLContext::ThreadBlockSize = 64; const int OpenCLContext::ThreadBlockSize = 64;
const int OpenCLContext::TileSize = 32; const int OpenCLContext::TileSize = 32;
static void errorCallback(const char* errinfo, const void* private_info, size_t cb, void* user_data) { static void CL_CALLBACK errorCallback(const char* errinfo, const void* private_info, size_t cb, void* user_data) {
std::cerr << "OpenCL internal error: " << errinfo << std::endl; std::cerr << "OpenCL internal error: " << errinfo << std::endl;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment