Table of Contents

Class CudaRtcArtifact

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Copied immutable NVRTC artifact with reproducibility metadata. 带可复现元数据的不可变 NVRTC 工件副本。

public sealed class CudaRtcArtifact
Inheritance
CudaRtcArtifact
Inherited Members

Properties

CompilerVersion

Gets the loaded NVRTC compiler version. 获取已加载 NVRTC compiler version。

public string CompilerVersion { get; }

Property Value

string

HeadersSha256

Gets the canonical virtual-header SHA256. 获取规范化虚拟 header SHA256。

public string HeadersSha256 { get; }

Property Value

string

Kind

Gets the artifact kind. 获取工件类型。

public CudaRtcArtifactKind Kind { get; }

Property Value

CudaRtcArtifactKind

Length

Gets the copied payload length. 获取复制 payload 长度。

public int Length { get; }

Property Value

int

OptionsSha256

Gets the canonical compile-option SHA256. 获取规范化 compile option SHA256。

public string OptionsSha256 { get; }

Property Value

string

Sha256

Gets the artifact SHA256. 获取工件 SHA256。

public string Sha256 { get; }

Property Value

string

SourceSha256

Gets the source SHA256. 获取 source SHA256。

public string SourceSha256 { get; }

Property Value

string

TargetArchitecture

Gets the requested target architecture, or an empty string. 获取请求的 target architecture;未指定时为空。

public string TargetArchitecture { get; }

Property Value

string

Methods

ToArray()

Returns a new payload copy. 返回新的 payload 副本。

public byte[] ToArray()

Returns

byte[]