Library/ManagedCuda/CudaContext.cs
/// <summary>
/// Returns the current size of limit. See <see cref="CULimit"/>
/// </summary>
/// <param name="limit">Limit to query</param>
/// <returns>Returned size in bytes of limit</returns>
Returns the current size of limit. See
Returns the current size of limit . See
public SizeT GetLimit(CULimit limit)
		{
			SizeT ret = new SizeT();
			CUResult res = DriverAPINativeMethods.Limits.cuCtxGetLimit(ref ret, limit);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuCtxGetLimit", res));
			if (res != CUResult.Success)
				throw new CudaException(res);
			return ret;
		}
public SizeT GetLimit ( CULimit limit ) { SizeT ret = new SizeT ( ) ; CUResult res = DriverAPINativeMethods . Limits . cuCtxGetLimit ( ref ret , limit ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; return ret ; }
Returns the current size of limit.
Returns the current size of limit .
Returned size in bytes of limit
Returned size in bytes of limit
limit
CULimit
Limit to query
Limit to query