Show / Hide Table of Contents

    Class CudaSurfObject

    Cuda Surface Object

    Inheritance
    System.Object
    CudaSurfObject
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda
    Assembly: ManagedCuda.dll
    Syntax
    public class CudaSurfObject : IDisposable

    Constructors

    | Improve this Doc View Source

    CudaSurfObject(CudaResourceDesc)

    Creates a surface object. ResDesc describes the data to perform surface load/stores on. ResDesc.resType must be Array and ResDesc.hArray must be set to a valid CUDA array handle. ResDesc.flags must be set to zero.

    Declaration
    public CudaSurfObject(CudaResourceDesc resDesc)
    Parameters
    Type Name Description
    CudaResourceDesc resDesc

    CudaResourceDesc

    | Improve this Doc View Source

    CudaSurfObject(CudaArray1D)

    Creates a surface object. ResDesc describes the data to perform surface load/stores on. ResDesc.resType must be Array and ResDesc.hArray must be set to a valid CUDA array handle.

    Declaration
    public CudaSurfObject(CudaArray1D array)
    Parameters
    Type Name Description
    CudaArray1D array

    CudaArray1D

    | Improve this Doc View Source

    CudaSurfObject(CudaArray2D)

    Creates a surface object. ResDesc describes the data to perform surface load/stores on. ResDesc.resType must be Array and ResDesc.hArray must be set to a valid CUDA array handle.

    Declaration
    public CudaSurfObject(CudaArray2D array)
    Parameters
    Type Name Description
    CudaArray2D array

    CudaArray2D

    | Improve this Doc View Source

    CudaSurfObject(CudaArray3D)

    Creates a surface object. ResDesc describes the data to perform surface load/stores on. ResDesc.resType must be Array and ResDesc.hArray must be set to a valid CUDA array handle.

    Declaration
    public CudaSurfObject(CudaArray3D array)
    Parameters
    Type Name Description
    CudaArray3D array

    CudaArray3D

    Properties

    | Improve this Doc View Source

    ResDesc

    Returns the CudaResourceDesc used to create the CudaSurfObject

    Declaration
    public CudaResourceDesc ResDesc { get; }
    Property Value
    Type Description
    CudaResourceDesc
    | Improve this Doc View Source

    SurfObject

    Returns the wrapped CUsurfObject

    Declaration
    public CUsurfObject SurfObject { get; }
    Property Value
    Type Description
    CUsurfObject

    Methods

    | Improve this Doc View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    For IDisposable

    Declaration
    protected virtual void Dispose(bool fDisposing)
    Parameters
    Type Name Description
    System.Boolean fDisposing
    | Improve this Doc View Source

    Finalize()

    For dispose

    Declaration
    protected void Finalize()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX