Return early on skip.

This commit is contained in:
Allison Vacanti
2021-03-08 23:23:45 -05:00
parent c24f0228ac
commit 3d83fe20ac

View File

@@ -138,6 +138,7 @@ void copy_type_conversion_sweep(nvbench::state &state,
if (sizeof(InputType) > sizeof(OutputType))
{
state.skip("Narrowing conversion: sizeof(InputType) > sizeof(OutputType).");
return;
}
// Number of InputTypes in 64 MiB: