Table of Contents

Class CudaException

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Thrown when the CUDA bridge reports a non-success status. 当 CUDA bridge 返回非成功状态时引发。

public sealed class CudaException : NativeBridgeException, ISerializable
Inheritance
CudaException
Implements
Inherited Members

Constructors

CudaException(BridgeStatusCode, BridgeErrorCategory, string)

Initializes a CUDA bridge exception from the reported bridge status. 使用 bridge 返回的状态信息初始化 CUDA 异常。

public CudaException(BridgeStatusCode statusCode, BridgeErrorCategory errorCategory, string message)

Parameters

statusCode BridgeStatusCode

The bridge status code. Bridge 状态码。

errorCategory BridgeErrorCategory

The bridge error category. Bridge 错误分类。

message string

The human-readable error message. 可读错误消息。