Show / Hide Table of Contents

    Class CudaException

    A CUDA exception is thrown if a CUDA Driver API method call does not return Success

    Inheritance
    System.Object
    System.Exception
    CudaException
    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 CudaException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    CudaException()

    Declaration
    public CudaException()
    | Improve this Doc View Source

    CudaException(CUResult)

    Declaration
    public CudaException(CUResult error)
    Parameters
    Type Name Description
    CUResult error
    | Improve this Doc View Source

    CudaException(CUResult, String, Exception)

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

    CudaException(SerializationInfo, StreamingContext)

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

    CudaException(String)

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

    CudaException(String, Exception)

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

    Properties

    | Improve this Doc View Source

    CudaError

    Declaration
    public CUResult CudaError { get; set; }
    Property Value
    Type Description
    CUResult
    | Improve this Doc View Source

    CudaInternalErrorDescription

    Error description as returned by CUDA driver API

    Declaration
    public string CudaInternalErrorDescription { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    CudaInternalErrorName

    Error name as returned by CUDA driver API

    Declaration
    public string CudaInternalErrorName { get; }
    Property Value
    Type Description
    System.String

    Methods

    | 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