mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-20 14:58:54 +00:00
Add detail::state_generator.
This helper utility computes the cartesian product of the runtime axes.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
#define ASSERT_MSG(cond, msg) \
|
||||
#define ASSERT_MSG(cond, fmtstr, ...) \
|
||||
do \
|
||||
{ \
|
||||
if (cond) \
|
||||
@@ -25,7 +25,7 @@
|
||||
__FILE__, \
|
||||
__LINE__, \
|
||||
#cond, \
|
||||
msg); \
|
||||
fmt::format(fmtstr, __VA_ARGS__)); \
|
||||
exit(EXIT_FAILURE); \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
Reference in New Issue
Block a user