Expose zoom-conditioned flame parity losses
This commit is contained in:
parent
bb02bae34b
commit
ec0626e668
6 changed files with 164 additions and 27 deletions
|
|
@ -150,6 +150,47 @@ the current flame path initializes resident splats from the program and then
|
|||
performs stochastic replacement; it does not yet use visual error feedback,
|
||||
MIS/ReSTIR weights, or an external rendered-image residual to steer updates.
|
||||
|
||||
## View-Conditioned Parity
|
||||
|
||||
Global parity is a weak metric. Realtime usefulness depends on the current
|
||||
camera window: panning or zooming should keep the visible image smooth while the
|
||||
cache spends new work on underrepresented regions.
|
||||
|
||||
The receipt tool therefore accepts named viewport bounds:
|
||||
|
||||
```powershell
|
||||
.\scripts\fractal-splat-receipt.ps1 `
|
||||
-Splats 2000000 `
|
||||
-SplatUpdates 50000 `
|
||||
-Warmup 10 `
|
||||
-Frames 60 `
|
||||
-Depth 16 `
|
||||
-ReservoirUpdates 15000 `
|
||||
-ProgramFlame tests\Aquarium.Engine.Fractal.Tests\Fixtures\Apophysis\linear-spherical-bubble.flame `
|
||||
-ReadbackSplats 250000 `
|
||||
-VisualParity `
|
||||
-VisualParityReferenceSamples 1000000 `
|
||||
-HistogramSize 128x128 `
|
||||
-VisualParityView global:-8,-8,8,8 `
|
||||
-VisualParityView mid:-1,-1,1,1 `
|
||||
-VisualParityView close:-0.5,-0.5,0.5,0.5 `
|
||||
-VisualParityView micro:-0.25,-0.25,0.25,0.25
|
||||
```
|
||||
|
||||
First view-conditioned receipt:
|
||||
|
||||
| View | Distribution score | GPU hits | Reference hits | Starved bins | Underrepresented mass |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: |
|
||||
| global | 97.09% | 249,972 | 999,836 | 1,034 | 2.91% |
|
||||
| mid | 91.93% | 166,654 | 667,105 | 1,792 | 8.07% |
|
||||
| close | 88.97% | 125,448 | 501,033 | 2,266 | 11.03% |
|
||||
| micro | 82.05% | 71,348 | 284,011 | 2,656 | 17.95% |
|
||||
|
||||
This is the first metric that catches the real problem. The reservoir is fast,
|
||||
but it is not yet view-adaptive. It needs camera-conditioned target weights,
|
||||
underrepresented-bin feedback, and temporal reuse validation before it deserves
|
||||
claims about maintaining flame quality during movement and zoom.
|
||||
|
||||
## Sources
|
||||
|
||||
- Apophysis 7x repository: https://github.com/wanily/apophysis7x
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ param(
|
|||
[int]$VisualParityReferenceSamples = 1000000,
|
||||
[string]$HistogramSize = "64x64",
|
||||
[string]$HistogramBounds = "-8,-8,8,8",
|
||||
[string[]]$VisualParityView = @(),
|
||||
[int]$ReadbackSplats = 64
|
||||
)
|
||||
|
||||
|
|
@ -31,6 +32,9 @@ if ($VisualParity) {
|
|||
"--histogram-size", $HistogramSize,
|
||||
"--histogram-bounds", $HistogramBounds
|
||||
)
|
||||
foreach ($view in $VisualParityView) {
|
||||
$parityArgs += @("--visual-parity-view", $view)
|
||||
}
|
||||
}
|
||||
|
||||
dotnet run --project (Join-Path $repoRoot "tools\Aquarium.Fractal.Receipt\Aquarium.Fractal.Receipt.csproj") -c Release -- `
|
||||
|
|
|
|||
|
|
@ -151,6 +151,7 @@ renderer_state:
|
|||
- tools/Aquarium.Fractal.Receipt can now run a CPU flame histogram receipt with `--flame`; scripts/fractal-flame-receipt.ps1 emits the default linear/spherical/bubble fixture checksum 0xAEB1C81B under artifacts/fractal-flame-receipts. It can also hash binary PPM renders with `--reference-ppm`; scripts/fractal-flame-reference-render.ps1 drives a local external `flam3-render` through FLAM3's documented env vars and records image-shape/non-black/checksum receipts under artifacts/fractal-flame-reference without vendoring GPL renderer code.
|
||||
- D3D12FractalReservoirCompute has an explicit flame 2D program mode for the proven FLAM3-style subset. FractalGpuProgramCompiler lowers flame rows into packed affine/variation program rows, and tools/Aquarium.Fractal.Receipt can run them with `--program-flame`. The splat cache initializes all resident rows once, then stochastic frame updates touch a budgeted subset. Local GTX 1070 receipt: 2,000,000 resident splats, 2,000,000 SDF/PBR/radiosity reservoirs each, 50,000 splat updates/frame, 15,000 reservoir updates/pass/frame, depth 8, 3 flame transforms, 1.030 ms/frame, 971.3 FPS equivalent, checksum 0x2647D8B08575B848.
|
||||
- The first visual parity receipt compares GPU flame splat XY histograms against the CPU flame oracle. With 250,000 GPU readback splats and 1,000,000 CPU reference samples in 128x128 bounds -8,-8,8,8, the mixed flame fixture scores 84.05% distribution parity at frame 1, 84.10% at frame 5, 84.20% at frame 20, and 84.24% after the 60-frame/10-warmup receipt, with cosine similarity around 0.9955. This is a stable sampler score, not proof of learned convergence; visual-error feedback is still future work.
|
||||
- View-conditioned visual parity now scores named camera windows instead of trusting one global histogram. For the depth-16 flame receipt, global -8..8 scores 97.09%, mid -1..1 scores 91.93%, close -0.5..0.5 scores 88.97%, and micro -0.25..0.25 scores 82.05% with 2,656 starved reference bins and 17.95% underrepresented mass. This is the current hard loss: the reservoir is not yet spending work based on camera-conditioned underrepresentation.
|
||||
- D3D12 capacity logging now reports active fractal reservoir resident MiB, splat count, visible debug splat count, updates/pass, and candidates/update so the GPU cache has a receipt in normal runtime logs, not just in the standalone benchmark.
|
||||
- The consolidated fractal brush architecture plan defines the intended pipeline: client intent -> domain roots -> semantic IFS brush grammar -> ownership tree -> node summaries -> contribution cache/residency scheduler -> backend packets -> renderer passes -> debug/evidence, with explicit module boundaries and mockable unit-test seams.
|
||||
- The Perfect Machine architecture lives in docs/perfect-machine-architecture.md. It is the current waterfall design authority for fast 2D SDF splats, 3D SDF splats, 2D-projected-to-3D surface splats, IFS `.aquageo` structural probes, Mimir-style camera/audio evidence candidates, ReSTIR/GRIS reservoir reuse, heuristic occupancy graph updates, resource-tier residency, and TAA guide-buffer integration.
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@
|
|||
"Use `scripts/fractal-flame-receipt.ps1` for the local CPU flame receipt. The default mixed linear/spherical/bubble fixture uses 8192 samples, 64 burn-in, 64x64 bounds -8,-8,8,8, seed 0x0BADC0DE, and checksum 0xAEB1C81B. Use `scripts/fractal-flame-reference-render.ps1` with a local `flam3-render` executable to produce external PPM image receipts under artifacts/fractal-flame-reference; Aquarium does not vendor Apophysis or FLAM3.",
|
||||
"FractalGpuProgramCompiler can lower the proven FLAM3-style flame subset into GPU program rows for D3D12FractalReservoirCompute's explicit flame 2D program mode. The receipt path initializes the full resident splat cache once, then stochastically updates a splat subset per frame; on 2026-05-20 the GTX 1070 ran the mixed flame fixture with 2,000,000 resident splats, three 2,000,000-row reservoir layers, 50,000 splat updates/frame, 15,000 reservoir updates/pass/frame, depth 8, and 3 flame transforms at 1.030 ms/frame / 971.3 FPS equivalent, checksum 0x2647D8B08575B848.",
|
||||
"The first visual parity metric compares GPU flame splat XY histograms against the local CPU flame oracle. With 250,000 GPU readback splats, 1,000,000 CPU reference samples, 128x128 bounds -8,-8,8,8, and the mixed FLAM3-style fixture, distribution score is 84.05% at frame 1, 84.10% at frame 5, 84.20% at frame 20, and 84.24% after the 60-frame/10-warmup receipt; cosine similarity stays about 0.9955. This is high distribution similarity but not learned convergence: the current reservoir path initializes splats and stochastically replaces them, without visual-error feedback or ReSTIR/MIS target correction yet.",
|
||||
"Global flame parity is not enough. View-conditioned parity now scores named viewport bounds and reports GPU/reference hits, starved reference bins, and underrepresented mass. First depth-16 GTX 1070 receipt with 250k GPU readback splats vs 1M CPU samples: global -8..8 scores 97.09%, mid -1..1 scores 91.93%, close -0.5..0.5 scores 88.97%, micro -0.25..0.25 scores 82.05% with 2,656 starved bins and 17.95% underrepresented mass. This proves the current reservoir is fast but not view-adaptive; next work needs camera-conditioned target weights and underrepresented-region feedback.",
|
||||
"Zyphos' primary planetary terrain test path is now the fractal reservoir surface. The direct SDF planet and Umbros proxy shaders are removed from the render plan; only the parent star remains as a direct SDF body/light. If the planet looks wrong, fix the reservoir lowering/shading path instead of letting the old SDF terrain hide it.",
|
||||
"The GPU splat receipt harness lives at tools/Aquarium.Fractal.Receipt and scripts/fractal-splat-receipt.ps1. The live receipt allocates one 80-byte packed SDF splat UAV plus three distinct 64-byte reservoir UAVs for SDF envelopes, PBR material envelopes, and radiosity; those reservoirs are sampled in independent compute passes under a stochastic update budget. On the local NVIDIA GTX 1070 it kept 2,000,000 splats and 2,000,000 reservoirs per layer resident. The fallback hash-fractal receipt updated 50,000 entries per layer with 2 candidates/update at 4.471 ms/frame, 223.7 FPS equivalent. The authored precomposed selected-cut receipt used depth 48, 4 compact transforms, and 15,000 updates per layer at 4.908 ms/frame, 203.7 FPS equivalent, with full reservoir coverage in 133.3 frames. D3D12FractalSplatRender consumes the raw splat, SDF, PBR, and radiosity buffers through separate graphics SRVs for the visible debug subset. This proves compute-side GPU residency, budgeted temporal convergence, authored-program splat population decoupled from domain ancestry depth, and first layered GPU consumption; final terrain/material/radiosity shading is still future work.",
|
||||
"FractalProjectedSdfSplatCompiler is the Phase G 2D-projected-to-3D lowering seam: it converts resident SignedDistance2D page payload samples into compact 3D SDF splats through an explicit page-local Vector2 -> Vector3 mapping, surface normal, support radius, and splat budget. Zyphos caches a bounded first set with a flat local mapping until cube-sphere/torus mappers are added.",
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ The renderer work that matters next:
|
|||
GPU splat histograms against the CPU flame oracle. Current score plateaus
|
||||
near 84.2% distribution parity / 0.9955 cosine, so the next architectural
|
||||
need is visual-error feedback, not more raw sampling theater.
|
||||
Use `-VisualParityView name:minX,minY,maxX,maxY` for camera-window truth.
|
||||
The depth-16 flame receipt loses hard under zoom: micro -0.25..0.25 is 82.05%
|
||||
with 2,656 starved reference bins. This is the next real reservoir target.
|
||||
- Use `docs/zyphos-eusocial-sync.md` before evolving Zyphos world content.
|
||||
Eusocial Interbeing owns canon in `E:\Projects\Eusocial Interbeing`; Zyphos
|
||||
owns render constraints and feeds design questions back through the vault's
|
||||
|
|
|
|||
|
|
@ -56,12 +56,17 @@ Console.WriteLine($"readback checksum: 0x{receipt.ReadbackChecksum:X16}");
|
|||
if (receipt.VisualParity is not null)
|
||||
{
|
||||
Console.WriteLine($"visual parity samples: {receipt.VisualParity.ComparedSamples:N0}/{receipt.VisualParity.ReferenceSamples:N0}");
|
||||
Console.WriteLine($"visual parity views: {receipt.VisualParity.Views.Count:N0}");
|
||||
Console.WriteLine($"visual parity bins: {receipt.VisualParity.Width}x{receipt.VisualParity.Height}");
|
||||
Console.WriteLine($"visual parity occupancy overlap: {receipt.VisualParity.OccupancyOverlapPercent:0.00}%");
|
||||
Console.WriteLine($"visual parity distribution score: {receipt.VisualParity.DistributionScorePercent:0.00}%");
|
||||
Console.WriteLine($"visual parity l1 distance: {receipt.VisualParity.L1Distance:0.000000}");
|
||||
Console.WriteLine($"visual parity rmse: {receipt.VisualParity.Rmse:0.000000}");
|
||||
Console.WriteLine($"visual parity cosine: {receipt.VisualParity.CosineSimilarity:0.000000}");
|
||||
foreach (var view in receipt.VisualParity.Views)
|
||||
{
|
||||
Console.WriteLine($"visual view {view.Name}: score {view.DistributionScorePercent:0.00}% / hits gpu {view.GpuHitCount:N0}, ref {view.ReferenceHitCount:N0} / starved bins {view.StarvedReferenceBins:N0} / under-mass {view.UnderrepresentedMassPercent:0.00}%");
|
||||
}
|
||||
}
|
||||
Console.WriteLine($"receipt: {receiptPath}");
|
||||
|
||||
|
|
@ -438,12 +443,6 @@ internal sealed class GpuFractalSplatReceiptRunner : IDisposable
|
|||
options.VisualParityReferenceSamples,
|
||||
options.HistogramBurnIn,
|
||||
new FractalXorShiftRandom(options.Seed));
|
||||
var referenceHistogram = FractalPointHistogramBuilder.Build(
|
||||
referencePoints,
|
||||
options.HistogramWidth,
|
||||
options.HistogramHeight,
|
||||
options.HistogramBounds);
|
||||
|
||||
var points = new Vector2[readbackSplatCount];
|
||||
var splats = (AquariumPackedFractalSdfSplat3D*)readback.Map<byte>(0);
|
||||
for (var index = 0; index < points.Length; index++)
|
||||
|
|
@ -453,29 +452,67 @@ internal sealed class GpuFractalSplatReceiptRunner : IDisposable
|
|||
}
|
||||
|
||||
readback.Unmap(0);
|
||||
var gpuHistogram = FractalPointHistogramBuilder.Build(
|
||||
points,
|
||||
options.HistogramWidth,
|
||||
options.HistogramHeight,
|
||||
options.HistogramBounds);
|
||||
var metrics = CompareHistograms(referenceHistogram, gpuHistogram);
|
||||
var views = options.VisualParityViews.Count > 0
|
||||
? options.VisualParityViews
|
||||
: [new VisualParityView("global", options.HistogramBounds)];
|
||||
var viewReceipts = new VisualParityViewReceipt[views.Count];
|
||||
for (var index = 0; index < views.Count; index++)
|
||||
{
|
||||
viewReceipts[index] = BuildVisualParityView(
|
||||
views[index],
|
||||
referencePoints,
|
||||
points,
|
||||
options.HistogramWidth,
|
||||
options.HistogramHeight);
|
||||
}
|
||||
|
||||
var primary = viewReceipts[0];
|
||||
return new VisualParityReceipt(
|
||||
readbackSplatCount,
|
||||
options.VisualParityReferenceSamples,
|
||||
options.HistogramWidth,
|
||||
options.HistogramHeight,
|
||||
primary.Bounds,
|
||||
primary.ReferenceHitCount,
|
||||
primary.GpuHitCount,
|
||||
primary.ReferenceOccupiedBins,
|
||||
primary.GpuOccupiedBins,
|
||||
primary.SharedOccupiedBins,
|
||||
primary.OccupancyOverlapPercent,
|
||||
primary.L1Distance,
|
||||
primary.Rmse,
|
||||
primary.CosineSimilarity,
|
||||
primary.DistributionScorePercent,
|
||||
viewReceipts);
|
||||
}
|
||||
|
||||
private static VisualParityViewReceipt BuildVisualParityView(
|
||||
VisualParityView view,
|
||||
IReadOnlyList<Vector2> referencePoints,
|
||||
IReadOnlyList<Vector2> gpuPoints,
|
||||
int width,
|
||||
int height)
|
||||
{
|
||||
var referenceHistogram = FractalPointHistogramBuilder.Build(referencePoints, width, height, view.Bounds);
|
||||
var gpuHistogram = FractalPointHistogramBuilder.Build(gpuPoints, width, height, view.Bounds);
|
||||
var metrics = CompareHistograms(referenceHistogram, gpuHistogram);
|
||||
return new VisualParityViewReceipt(
|
||||
view.Name,
|
||||
[
|
||||
options.HistogramBounds.X,
|
||||
options.HistogramBounds.Y,
|
||||
options.HistogramBounds.Z,
|
||||
options.HistogramBounds.W,
|
||||
view.Bounds.X,
|
||||
view.Bounds.Y,
|
||||
view.Bounds.Z,
|
||||
view.Bounds.W,
|
||||
],
|
||||
referenceHistogram.HitCount,
|
||||
gpuHistogram.HitCount,
|
||||
metrics.ReferenceOccupiedBins,
|
||||
metrics.GpuOccupiedBins,
|
||||
metrics.SharedOccupiedBins,
|
||||
metrics.StarvedReferenceBins,
|
||||
metrics.OccupancyOverlapPercent,
|
||||
metrics.UnderrepresentedMassPercent,
|
||||
metrics.OversampledMassPercent,
|
||||
metrics.L1Distance,
|
||||
metrics.Rmse,
|
||||
metrics.CosineSimilarity,
|
||||
|
|
@ -499,12 +536,17 @@ internal sealed class GpuFractalSplatReceiptRunner : IDisposable
|
|||
var referenceOccupied = 0;
|
||||
var candidateOccupied = 0;
|
||||
var sharedOccupied = 0;
|
||||
var starvedReferenceBins = 0;
|
||||
var underrepresentedMass = 0.0;
|
||||
var oversampledMass = 0.0;
|
||||
for (var index = 0; index < reference.Bins.Length; index++)
|
||||
{
|
||||
var referenceProbability = reference.Bins[index] / (double)referenceTotal;
|
||||
var candidateProbability = candidate.Bins[index] / (double)candidateTotal;
|
||||
var delta = referenceProbability - candidateProbability;
|
||||
l1 += Math.Abs(delta);
|
||||
underrepresentedMass += Math.Max(delta, 0.0);
|
||||
oversampledMass += Math.Max(-delta, 0.0);
|
||||
squared += delta * delta;
|
||||
dot += referenceProbability * candidateProbability;
|
||||
referenceMagnitude += referenceProbability * referenceProbability;
|
||||
|
|
@ -514,6 +556,7 @@ internal sealed class GpuFractalSplatReceiptRunner : IDisposable
|
|||
referenceOccupied += referenceHas ? 1 : 0;
|
||||
candidateOccupied += candidateHas ? 1 : 0;
|
||||
sharedOccupied += referenceHas && candidateHas ? 1 : 0;
|
||||
starvedReferenceBins += referenceHas && !candidateHas ? 1 : 0;
|
||||
}
|
||||
|
||||
var occupiedUnion = Math.Max(referenceOccupied + candidateOccupied - sharedOccupied, 1);
|
||||
|
|
@ -523,7 +566,10 @@ internal sealed class GpuFractalSplatReceiptRunner : IDisposable
|
|||
referenceOccupied,
|
||||
candidateOccupied,
|
||||
sharedOccupied,
|
||||
starvedReferenceBins,
|
||||
sharedOccupied * 100.0 / occupiedUnion,
|
||||
underrepresentedMass * 100.0,
|
||||
oversampledMass * 100.0,
|
||||
l1,
|
||||
rmse,
|
||||
cosine,
|
||||
|
|
@ -619,7 +665,8 @@ internal sealed record ReceiptOptions(
|
|||
int HistogramHeight,
|
||||
Vector4 HistogramBounds,
|
||||
bool VisualParity,
|
||||
int VisualParityReferenceSamples)
|
||||
int VisualParityReferenceSamples,
|
||||
IReadOnlyList<VisualParityView> VisualParityViews)
|
||||
{
|
||||
public static ReceiptOptions Parse(string[] args)
|
||||
{
|
||||
|
|
@ -646,7 +693,8 @@ internal sealed record ReceiptOptions(
|
|||
64,
|
||||
new Vector4(-8.0f, -8.0f, 8.0f, 8.0f),
|
||||
false,
|
||||
1_000_000);
|
||||
1_000_000,
|
||||
[]);
|
||||
for (var index = 0; index < args.Length; index++)
|
||||
{
|
||||
var arg = args[index];
|
||||
|
|
@ -674,6 +722,7 @@ internal sealed record ReceiptOptions(
|
|||
"--histogram-bounds" => ParseHistogramBounds(options, Next()),
|
||||
"--visual-parity" => options with { VisualParity = true },
|
||||
"--visual-parity-reference-samples" => options with { VisualParityReferenceSamples = int.Parse(Next()) },
|
||||
"--visual-parity-view" => AddVisualParityView(options, Next()),
|
||||
_ => throw new ArgumentException($"Unknown receipt option: {arg}"),
|
||||
};
|
||||
}
|
||||
|
|
@ -744,21 +793,36 @@ internal sealed record ReceiptOptions(
|
|||
}
|
||||
|
||||
private static ReceiptOptions ParseHistogramBounds(ReceiptOptions options, string value)
|
||||
{
|
||||
return options with { HistogramBounds = ParseBounds(value, "Histogram bounds") };
|
||||
}
|
||||
|
||||
private static ReceiptOptions AddVisualParityView(ReceiptOptions options, string value)
|
||||
{
|
||||
var separator = value.IndexOf(':', StringComparison.Ordinal);
|
||||
if (separator <= 0 || separator == value.Length - 1)
|
||||
{
|
||||
throw new ArgumentException("Visual parity view must be name:minX,minY,maxX,maxY.");
|
||||
}
|
||||
|
||||
var name = value[..separator];
|
||||
var bounds = ParseBounds(value[(separator + 1)..], "Visual parity view bounds");
|
||||
return options with { VisualParityViews = [.. options.VisualParityViews, new VisualParityView(name, bounds)] };
|
||||
}
|
||||
|
||||
private static Vector4 ParseBounds(string value, string label)
|
||||
{
|
||||
var parts = value.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
|
||||
if (parts.Length != 4)
|
||||
{
|
||||
throw new ArgumentException("Histogram bounds must be minX,minY,maxX,maxY.");
|
||||
throw new ArgumentException($"{label} must be minX,minY,maxX,maxY.");
|
||||
}
|
||||
|
||||
return options with
|
||||
{
|
||||
HistogramBounds = new Vector4(
|
||||
float.Parse(parts[0], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[2], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[3], System.Globalization.CultureInfo.InvariantCulture)),
|
||||
};
|
||||
return new Vector4(
|
||||
float.Parse(parts[0], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[2], System.Globalization.CultureInfo.InvariantCulture),
|
||||
float.Parse(parts[3], System.Globalization.CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
private static uint ParseUInt32(string value)
|
||||
|
|
@ -792,6 +856,8 @@ internal sealed record ReferencePpmReceipt(
|
|||
ulong RgbChecksum,
|
||||
ulong LuminanceChecksum);
|
||||
|
||||
internal readonly record struct VisualParityView(string Name, Vector4 Bounds);
|
||||
|
||||
internal sealed record VisualParityReceipt(
|
||||
int ComparedSamples,
|
||||
int ReferenceSamples,
|
||||
|
|
@ -807,13 +873,34 @@ internal sealed record VisualParityReceipt(
|
|||
double L1Distance,
|
||||
double Rmse,
|
||||
double CosineSimilarity,
|
||||
double DistributionScorePercent,
|
||||
IReadOnlyList<VisualParityViewReceipt> Views);
|
||||
|
||||
internal sealed record VisualParityViewReceipt(
|
||||
string Name,
|
||||
float[] Bounds,
|
||||
int ReferenceHitCount,
|
||||
int GpuHitCount,
|
||||
int ReferenceOccupiedBins,
|
||||
int GpuOccupiedBins,
|
||||
int SharedOccupiedBins,
|
||||
int StarvedReferenceBins,
|
||||
double OccupancyOverlapPercent,
|
||||
double UnderrepresentedMassPercent,
|
||||
double OversampledMassPercent,
|
||||
double L1Distance,
|
||||
double Rmse,
|
||||
double CosineSimilarity,
|
||||
double DistributionScorePercent);
|
||||
|
||||
internal readonly record struct HistogramComparison(
|
||||
int ReferenceOccupiedBins,
|
||||
int GpuOccupiedBins,
|
||||
int SharedOccupiedBins,
|
||||
int StarvedReferenceBins,
|
||||
double OccupancyOverlapPercent,
|
||||
double UnderrepresentedMassPercent,
|
||||
double OversampledMassPercent,
|
||||
double L1Distance,
|
||||
double Rmse,
|
||||
double CosineSimilarity,
|
||||
|
|
|
|||
Loading…
Reference in a new issue