Library/ManagedCuda/CudaMipmappedArray.cs
/// <summary>
/// Returns a CUDA array that represents a single mipmap level
/// of the CUDA mipmapped array.
/// </summary>
/// <param name="level">Mipmap level</param>
Returns a CUDA array that represents a single mipmap level
of the CUDA mipmapped array.
Returns a CUDA array that represents a single mipmap level of the CUDA mipmapped array .
public CudaArray3D GetLevelAsArray3D(uint level)
		{
			CUarray array = new CUarray();
			res = DriverAPINativeMethods.ArrayManagement.cuMipmappedArrayGetLevel(ref array, _mipmappedArray, level);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuMipmappedArrayGetLevel", res));
			if (res != CUResult.Success)
				throw new CudaException(res);
			return new CudaArray3D(array, false);
		}
public CudaArray3D GetLevelAsArray3D ( uint level ) { CUarray array = new CUarray ( ) ; res = DriverAPINativeMethods . ArrayManagement . cuMipmappedArrayGetLevel ( ref array , _mipmappedArray , level ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; return new CudaArray3D ( array , false ) ; }
Returns a CUDA array that represents a single mipmap level
of the CUDA mipmapped array.
Returns a CUDA array that represents a single mipmap level of the CUDA mipmapped array .
level
uint
None