Ejemplo n.º 1
0
cl::cl_exception::cl_exception(const std::string &func_name, cl_int error_code) noexcept
  : exception(((func_name + " : ") + get_code_name(error_code)).data()), 
		ret(error_code), func(func_name)
{
	
}
Ejemplo n.º 2
0
 static std::string generate_exception_message(VkResult code, const std::string &message) noexcept
 {
   return get_code_name(code) + ": " + message;
 }