To do this we need to ensure that the nvml init handler is both contained in the library/executable that uses nvbench.
The original implementation fails since the singleton can be dropped since it has no usages. So instead we move to a function static which we ensure will always be used.
To do this we need to ensure that the nvml init handler is both contained in the library/executable that uses nvbench.
The original implementation fails since the singleton can be dropped since it has no usages. So instead we move to a function static which we ensure will always be used.