Commit 49fc9a76 authored by Joseph Noir's avatar Joseph Noir

Fix outdated logging

The previously used function is no longer available.
parent 0967057d
...@@ -85,9 +85,8 @@ program program::create(const char* kernel_source, const char* options, ...@@ -85,9 +85,8 @@ program program::create(const char* kernel_source, const char* options,
sizeof(buffer[0]) * buildlog_buffer_size, sizeof(buffer[0]) * buildlog_buffer_size,
buffer.data(), nullptr); buffer.data(), nullptr);
CAF_LOGC_ERROR("caf::opencl::program", "create", CAF_LOGF_ERROR("Build log:\n" + string(buffer.data()) +
"Build log:\n" + string(buffer.data()) + "\n########################################");
"\n########################################");
} }
#endif #endif
throw runtime_error(oss.str()); throw runtime_error(oss.str());
......
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