mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-19 22:38:52 +00:00
Set underlying type for enum class exec_tag to uint16_t (#233)
This change reduces size of exec_tag instance from 4 bytes to 2 bytes, it also makes it more explicit what underlying type exec_tag is using.
This commit is contained in:
@@ -20,13 +20,15 @@
|
||||
|
||||
#include <nvbench/flags.cuh>
|
||||
|
||||
#include <cuda/std/cstdint>
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
namespace nvbench::detail
|
||||
{
|
||||
|
||||
// See the similarly named tags in nvbench::exec_tag:: for documentation.
|
||||
enum class exec_flag
|
||||
enum class exec_flag : ::cuda::std::uint16_t
|
||||
{
|
||||
none = 0x0,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user