ocelot/ocelot/tools/KernelExtractor.cpp
CUresult util::KernelExtractorDriver::cuLaunch ( CUfunction f ) {
	trace();	
	if (enabled) {
		kernelLaunch(f);
	}
	
	CUresult res = cudaDriver.cuLaunch(f);
	if (enabled) {
		kernelReturn(res);
	}
	
	RETURN( res );
}
/************************************
**
**    Launch functions
**

Serialize before state of each kernel,
time kernel execution,
serialize after state

***********************************/
Launch functions
Serialize before state of each kernel,
time kernel execution,
serialize after state
Launch functions Serialize before state of each kernel time kernel execution serialize after state
CUresult util::KernelExtractorDriver::cuLaunch ( CUfunction f ) {
	trace();	
	if (enabled) {
		kernelLaunch(f);
	}
	CUresult res = cudaDriver.cuLaunch(f);
	if (enabled) {
		kernelReturn(res);
	}
	RETURN( res );
}
CUresult util :: KernelExtractorDriver :: cuLaunch ( CUfunction f ) { trace ( ) ; if ( enabled ) { kernelLaunch ( f ) ; } CUresult res = cudaDriver . cuLaunch ( f ) ; if ( enabled ) { kernelReturn ( res ) ; } RETURN ( res ) ; }
Launch functions
Serialize before state of each kernel,
time kernel execution,
serialize after state
Launch functions Serialize before state of each kernel time kernel execution serialize after state