We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc7fea commit 111a93fCopy full SHA for 111a93f
sycl/source/detail/plugin.hpp
@@ -56,10 +56,10 @@ class plugin {
56
__SYCL_CHECK_OCL_CODE_THROW(pi_result, Exception);
57
}
58
59
- void reportPiError(RT::PiResult pi_result, string_class api_name) const {
+ void reportPiError(RT::PiResult pi_result, std::string &context) const {
60
if (pi_result != PI_SUCCESS) {
61
throw cl::sycl::runtime_error(
62
- api_name + " API failed with error: " +
+ context + " API failed with error: " +
63
cl::sycl::detail::codeToString(pi_result),
64
pi_result);
65
0 commit comments