mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 03:01:14 +00:00
Return early on skip.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user