Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getErrorMessage
Function
getErrorMessage
src/backend/opencl/errorcodes.cpp:14–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
#include <boost/compute/exception/opencl_error.hpp>
13
14
std::string getErrorMessage(int error_code) {
15
return boost::compute::opencl_error::to_string(error_code);
16
}
Callers
1
nativeFree
Method · 0.70
Calls
1
to_string
Function · 0.85
Tested by
no test coverage detected