経路の判断と作業量の型を追加する
このコミットが含まれているのは:
2ファイル変更
+21
検索条件に一致するファイルはありません
@@ -0,0 +1,18 @@
|
||||
namespace ComputeGuard;
|
||||
|
||||
internal enum ComputeRoute
|
||||
{
|
||||
Cpu,
|
||||
Gpu,
|
||||
}
|
||||
|
||||
internal enum ComputeRouteReason
|
||||
{
|
||||
Trusted,
|
||||
NoDevice,
|
||||
Pinned,
|
||||
SoftwareAdapter,
|
||||
MemoryLimit,
|
||||
}
|
||||
|
||||
internal readonly record struct ComputeDecision(ComputeRoute Route, ComputeRouteReason Reason);
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace ComputeGuard;
|
||||
|
||||
internal readonly record struct ComputeWorkload(int Width, int Height, long GpuMemoryBytes, ulong SamplingKey);
|
||||
新しいイシューから参照
ユーザーをブロックする