19 行
286 B
C#
19 行
286 B
C#
namespace ComputeGuard;
|
|
|
|
internal enum ComputeRoute
|
|
{
|
|
Cpu,
|
|
Gpu,
|
|
}
|
|
|
|
internal enum ComputeRouteReason
|
|
{
|
|
Trusted,
|
|
NoDevice,
|
|
Pinned,
|
|
SoftwareAdapter,
|
|
MemoryLimit,
|
|
}
|
|
|
|
internal readonly record struct ComputeDecision(ComputeRoute Route, ComputeRouteReason Reason);
|