MCPcopy 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
14std::string getErrorMessage(int error_code) {
15 return boost::compute::opencl_error::to_string(error_code);
16}

Callers 1

nativeFreeMethod · 0.70

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected