Show / Hide Table of Contents

    Class CudaOccupancyException

    A CudaOccupancy exception is thrown if a CudaOccupancy API method call does not return 0

    Inheritance
    System.Object
    System.Exception
    CudaOccupancyException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.GetType()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: ManagedCuda
    Assembly: ManagedCuda.dll
    Syntax
    [Serializable]
    public class CudaOccupancyException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    CudaOccupancyException()

    Declaration
    public CudaOccupancyException()
    | Improve this Doc View Source

    CudaOccupancyException(CudaOccupancy.cudaOccError)

    Declaration
    public CudaOccupancyException(CudaOccupancy.cudaOccError error)
    Parameters
    Type Name Description
    CudaOccupancy.cudaOccError error
    | Improve this Doc View Source

    CudaOccupancyException(CudaOccupancy.cudaOccError, String, Exception)

    Declaration
    public CudaOccupancyException(CudaOccupancy.cudaOccError error, string message, Exception exception)
    Parameters
    Type Name Description
    CudaOccupancy.cudaOccError error
    System.String message
    System.Exception exception
    | Improve this Doc View Source

    CudaOccupancyException(SerializationInfo, StreamingContext)

    Declaration
    protected CudaOccupancyException(SerializationInfo serInfo, StreamingContext streamingContext)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo serInfo
    System.Runtime.Serialization.StreamingContext streamingContext
    | Improve this Doc View Source

    CudaOccupancyException(String)

    Declaration
    public CudaOccupancyException(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    CudaOccupancyException(String, Exception)

    Declaration
    public CudaOccupancyException(string message, Exception exception)
    Parameters
    Type Name Description
    System.String message
    System.Exception exception

    Properties

    | Improve this Doc View Source

    CudaOccError

    Declaration
    public CudaOccupancy.cudaOccError CudaOccError { get; set; }
    Property Value
    Type Description
    CudaOccupancy.cudaOccError

    Methods

    | Improve this Doc View Source

    CheckZero(Int32)

    Checks if value is zero. If value is zero, CudaOccupancyException is thrown.

    Declaration
    public static void CheckZero(int value)
    Parameters
    Type Name Description
    System.Int32 value
    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context
    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Exception.ToString()

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX