ocelot/ocelot/cuda/implementation/CudaDriverFrontend.cpp
std::string cuda::CudaDriverFrontend::Context::_formatError(const std::string & message) {
	std::string result = "==Ocelot== ";
	for(std::string::const_iterator mi = message.begin(); 
		mi != message.end(); ++mi) {
		result.push_back(*mi);
		if(*mi == '\n') {
			result.append("==Ocelot== ");
		}
	}
	return result;
}
//! \brief returns an Ocelot-formatted error message
\brief returns an Ocelot-formatted error message
\ brief returns an Ocelot - formatted error message
std::string cuda::CudaDriverFrontend::Context::_formatError(const std::string & message) {
	std::string result = "==Ocelot== ";
	for(std::string::const_iterator mi = message.begin(); 
		mi != message.end(); ++mi) {
		result.push_back(*mi);
		if(*mi == '\n') {
			result.append("==Ocelot== ");
		}
	}
	return result;
}
std :: string cuda :: CudaDriverFrontend :: Context :: _formatError ( const std :: string & message ) { std :: string result = " " ; for ( std :: string :: const_iterator mi = message . begin ( ) ; mi != message . end ( ) ; ++ mi ) { result . push_back ( * mi ) ; if ( * mi == ' \n ' ) { result . append ( " " ) ; } } return result ; }
\brief returns an Ocelot-formatted error message
\ brief returns an Ocelot - formatted error message