NVBench integer axes return int64 values. Projects using 32-bit size types must repeatedly check that an axis value fits before casting it.
Could NVBench provide a checked int32 accessor, for example:
auto value = state.get_int32("num_rows");
The axis can remain int64 internally. The accessor should return an int32 value when it fits and report an error when it does not. This would also safely handle values supplied through command-line axis overrides.
NVBench integer axes return int64 values. Projects using 32-bit size types must repeatedly check that an axis value fits before casting it.
Could NVBench provide a checked int32 accessor, for example:
The axis can remain int64 internally. The accessor should return an int32 value when it fits and report an error when it does not. This would also safely handle values supplied through command-line axis overrides.