Skip to content

sgns::sgprocmanagerdiff::ElementDiffStats

More...

#include <diff_utils.hpp>

Public Attributes

Name
size_t elementCount
double maxAbsDelta
double maxRelDelta
int64_t maxUlpDistance
double percentExceedingThreshold
bool sizeMismatch

Detailed Description

struct sgns::sgprocmanagerdiff::ElementDiffStats;

Whole-buffer per-element divergence summary (DIFF-01/DIFF-02). Extracted verbatim from capture_diff.cpp's former unnamed-namespace struct of the same name/shape.

Public Attributes Documentation

variable elementCount

size_t elementCount = 0;

variable maxAbsDelta

double maxAbsDelta = 0.0;

variable maxRelDelta

double maxRelDelta = 0.0;

variable maxUlpDistance

int64_t maxUlpDistance = 0;

variable percentExceedingThreshold

double percentExceedingThreshold = 0.0;

variable sizeMismatch

bool sizeMismatch = false;

Updated on 2026-09-17 at 06:29:14 +0000