Table of Contents

Class CudaRuntimeInfo

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Runtime-level CUDA bridge information. CUDA bridge 的 runtime 层信息。

public sealed class CudaRuntimeInfo
Inheritance
CudaRuntimeInfo
Inherited Members

Constructors

CudaRuntimeInfo(bool, bool, bool, bool, int, int, int, string)

Initializes a snapshot of CUDA runtime capability information. 初始化一份 CUDA runtime 能力信息快照。

public CudaRuntimeInfo(bool vendorDependencyAvailable, bool supportsStreams, bool supportsEvents, bool supportsMemory, int runtimeVersion, int driverVersion, int deviceCount, string statusMessage)

Parameters

vendorDependencyAvailable bool

Whether vendor CUDA dependencies are available. 是否可用厂商 CUDA 依赖。

supportsStreams bool

Whether stream APIs are supported. 是否支持 stream API。

supportsEvents bool

Whether event APIs are supported. 是否支持 event API。

supportsMemory bool

Whether memory APIs are supported. 是否支持 memory API。

runtimeVersion int

The CUDA runtime version. CUDA runtime 版本。

driverVersion int

The CUDA driver version. CUDA driver 版本。

deviceCount int

The visible CUDA device count. 可见 CUDA 设备数量。

statusMessage string

The status or diagnostic message. 状态或诊断消息。

Properties

DeviceCount

Gets the visible CUDA device count. 获取可见 CUDA 设备数量。

public int DeviceCount { get; }

Property Value

int

DriverVersion

Gets the CUDA driver version. 获取 CUDA driver 版本。

public int DriverVersion { get; }

Property Value

int

RuntimeVersion

Gets the CUDA runtime version. 获取 CUDA runtime 版本。

public int RuntimeVersion { get; }

Property Value

int

StatusMessage

Gets the status or diagnostic message. 获取状态或诊断消息。

public string StatusMessage { get; }

Property Value

string

SupportsEvents

Gets whether event APIs are supported by the loaded runtime. 获取当前加载的 runtime 是否支持 event API。

public bool SupportsEvents { get; }

Property Value

bool

SupportsMemory

Gets whether memory APIs are supported by the loaded runtime. 获取当前加载的 runtime 是否支持 memory API。

public bool SupportsMemory { get; }

Property Value

bool

SupportsStreams

Gets whether stream APIs are supported by the loaded runtime. 获取当前加载的 runtime 是否支持 stream API。

public bool SupportsStreams { get; }

Property Value

bool

VendorDependencyAvailable

Gets whether vendor CUDA dependencies are currently available. 获取当前是否可用厂商 CUDA 依赖。

public bool VendorDependencyAvailable { get; }

Property Value

bool