Class CudaRtcCompilationResult
Immutable NVRTC compilation result retaining failure logs and copied success artifacts. 保留失败日志与成功工件副本的不可变 NVRTC 编译结果。
public sealed class CudaRtcCompilationResult
- Inheritance
-
CudaRtcCompilationResult
- Inherited Members
Properties
Artifacts
Gets available artifacts; unavailable option-dependent outputs are omitted. 获取可用工件;依赖 option 且不可用的输出不会出现。
public IReadOnlyList<CudaRtcArtifact> Artifacts { get; }
Property Value
CompilerVersion
Gets the loaded compiler version. 获取已加载 compiler version。
public string CompilerVersion { get; }
Property Value
Log
Gets the complete copied compiler log. 获取完整复制的 compiler log。
public string Log { get; }
Property Value
LoweredNames
Gets copied lowered names in source-expression order. 获取按 source expression 顺序排列的 lowered name 副本。
public IReadOnlyList<CudaRtcLoweredName> LoweredNames { get; }
Property Value
ResultCode
Gets the NVRTC result code. 获取 NVRTC 结果码。
public CudaRtcResultCode ResultCode { get; }
Property Value
Success
Gets whether compilation completed successfully. 获取编译是否成功完成。
public bool Success { get; }
Property Value
Methods
FindArtifact(CudaRtcArtifactKind)
Finds an available artifact by kind. 按类型查找可用工件。
public CudaRtcArtifact? FindArtifact(CudaRtcArtifactKind kind)
Parameters
kindCudaRtcArtifactKind