ocelot/ocelot/ir/implementation/PTXKernel.cpp
std::string PTXKernel::Prototype::getMangledName() const {
	std::stringstream ss;

	ss << identifier << "(";
	if (arguments.size()) {
		int n = 0;
		for (ParameterVector::const_iterator op_it = arguments.begin();
			op_it != arguments.end(); ++op_it) {
		
			ss << (n++ ? "," : "") << op_it->toString();	
		}
	}
	ss << ")";

	return ss.str();
}
/*!
	\brief emits a mangled form of the function prototype that can be 
	used to identify the function
*/
\brief emits a mangled form of the function prototype that can be
used to identify the function
\ brief emits a mangled form of the function prototype that can be used to identify the function
std::string PTXKernel::Prototype::getMangledName() const {
	std::stringstream ss;
	ss << identifier << "(";
	if (arguments.size()) {
		int n = 0;
		for (ParameterVector::const_iterator op_it = arguments.begin();
			op_it != arguments.end(); ++op_it) {
			ss << (n++ ? "," : "") << op_it->toString();	
		}
	}
	ss << ")";
	return ss.str();
}
std :: string PTXKernel :: Prototype :: getMangledName ( ) const { std :: stringstream ss ; ss << identifier << " " ; if ( arguments . size ( ) ) { int n = 0 ; for ( ParameterVector :: const_iterator op_it = arguments . begin ( ) ; op_it != arguments . end ( ) ; ++ op_it ) { ss << ( n ++ ? " " : " " ) << op_it -> toString ( ) ; } } ss << " " ; return ss . str ( ) ; }
\brief emits a mangled form of the function prototype that can be
used to identify the function
\ brief emits a mangled form of the function prototype that can be used to identify the function