mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Fix issues discovered by header tests.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
namespace nvbench
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace tl::detail
|
||||
template <typename... Ts>
|
||||
auto size(nvbench::type_list<Ts...>) -> std::integral_constant<std::size_t, sizeof...(Ts)>;
|
||||
|
||||
template <std::size_t I, typename... Ts>
|
||||
auto get(nvbench::type_list<Ts...>) -> std::tuple_element_t<I, std::tuple<Ts...>>;
|
||||
template <std::size_t Idx, typename... Ts>
|
||||
auto get(nvbench::type_list<Ts...>) -> std::tuple_element_t<Idx, std::tuple<Ts...>>;
|
||||
|
||||
template <typename... Ts, typename... Us>
|
||||
auto concat(nvbench::type_list<Ts...>, nvbench::type_list<Us...>)
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nvbench/types.cuh>
|
||||
|
||||
#include <cuda/std/chrono>
|
||||
|
||||
#include <cuda_runtime.h>
|
||||
|
||||
Reference in New Issue
Block a user