Table of Contents

Class NodeExecutionResult

Namespace
DotCompute.Backends.OpenCL.Execution
Assembly
DotCompute.Backends.OpenCL.dll

Represents the result of executing a single node.

public sealed class NodeExecutionResult
Inheritance
NodeExecutionResult
Inherited Members

Properties

Duration

Gets or initializes the execution duration.

public required TimeSpan Duration { get; init; }

Property Value

TimeSpan

Error

Gets or sets the error message if execution failed.

public string? Error { get; set; }

Property Value

string

NodeName

Gets or initializes the name of the executed node.

public required string NodeName { get; init; }

Property Value

string

NodeType

Gets or initializes the type of the node.

public required OpenCLCommandGraph.NodeType NodeType { get; init; }

Property Value

OpenCLCommandGraph.NodeType

ResultData

Gets or sets optional result data from the execution.

public object? ResultData { get; set; }

Property Value

object

Success

Gets or initializes a value indicating whether execution was successful.

public required bool Success { get; init; }

Property Value

bool