ocelot/ocelot/executive/implementation/NVIDIAExecutableKernel.cpp
void executive::NVIDIAExecutableKernel::setKernelShape(int x, int y, int z) {
	CUresult result = cuda::CudaDriver::cuFuncSetBlockShape(cuFunction, x, y, z);
	if (result != CUDA_SUCCESS) {
		report("failed to set kernel shape with result " << result);
		throw hydrazine::Exception("NVIDIAExecutableKernel::setKernelShape() failed");
	}
}
/*!
	Sets the shape of a kernel
*/
Sets the shape of a kernel
Sets the shape of a kernel
void executive::NVIDIAExecutableKernel::setKernelShape(int x, int y, int z) {
	CUresult result = cuda::CudaDriver::cuFuncSetBlockShape(cuFunction, x, y, z);
	if (result != CUDA_SUCCESS) {
		report("failed to set kernel shape with result " << result);
		throw hydrazine::Exception("NVIDIAExecutableKernel::setKernelShape() failed");
	}
}
void executive :: NVIDIAExecutableKernel :: setKernelShape ( int x , int y , int z ) { CUresult result = cuda :: CudaDriver :: cuFuncSetBlockShape ( cuFunction , x , y , z ) ; if ( result != CUDA_SUCCESS ) { report ( " " << result ) ; throw hydrazine :: Exception ( " " ) ; } }
Sets the shape of a kernel
Sets the shape of a kernel