ocelot/ocelot/tools/KernelExtractor.cpp
void util::KernelExtractorDriver::bindKernel(
	CUresult result, 
	CUmodule module,
	CUfunction function, 
	const char *name) {

	ModuleNameMap::const_iterator mod_it = moduleNameMap.find(module);
	if (mod_it != moduleNameMap.end()) {
		std::pair<std::string,std::string> fname(mod_it->second, name);
		functionNameMap[function] = fname;
	}
}
//! \brief binds a function handle to a module and kernel name
\brief binds a function handle to a module and kernel name
\ brief binds a function handle to a module and kernel name
void util::KernelExtractorDriver::bindKernel(
	CUresult result, 
	CUmodule module,
	CUfunction function, 
	const char *name) {
	ModuleNameMap::const_iterator mod_it = moduleNameMap.find(module);
	if (mod_it != moduleNameMap.end()) {
		std::pair<std::string,std::string> fname(mod_it->second, name);
		functionNameMap[function] = fname;
	}
}
void util :: KernelExtractorDriver :: bindKernel ( CUresult result , CUmodule module , CUfunction function , const char * name ) { ModuleNameMap :: const_iterator mod_it = moduleNameMap . find ( module ) ; if ( mod_it != moduleNameMap . end ( ) ) { std :: pair < std :: string , std :: string > fname ( mod_it -> second , name ) ; functionNameMap [ function ] = fname ; } }
\brief binds a function handle to a module and kernel name
\ brief binds a function handle to a module and kernel name