Library/ManagedCuda/CudaOccupancyException.cs
/// <summary>
/// Checks if value is zero. If value is zero, CudaOccupancyException is thrown.
/// </summary>
/// <param name="value"></param>
Checks if value is zero. If value is zero, CudaOccupancyException is thrown.
Checks if value is zero . If value is zero CudaOccupancyException is thrown .
public static void CheckZero(int value)
		{
			if (value == 0)
				throw new CudaOccupancyException(CudaOccupancy.cudaOccError.ErrorInvalidInput);
		}
public static void CheckZero ( int value ) { if ( value == 0 ) throw new CudaOccupancyException ( CudaOccupancy . cudaOccError . ErrorInvalidInput ) ; }
Checks if value is zero.
Checks if value is zero .
value
int
None