mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Remove the original attempt to adapt gbench to do CUDA stuff. Update all benchmarks to use some conventions: - Element count -> "Elements" [16:32] - Throughput calcs - Add input buffer column: "Size"
20 lines
351 B
CMake
20 lines
351 B
CMake
# 3.18.3 is needed for a MSVC + NVCC + C++17 bugfix.
|
|
cmake_minimum_required(VERSION 3.18.3)
|
|
|
|
project(nvbench CUDA)
|
|
|
|
# Setup some vars for CPM packages:
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CUDA_STANDARD 17)
|
|
|
|
include(CPM)
|
|
|
|
CPMAddPackage(
|
|
NAME fmt
|
|
GITHUB_REPOSITORY fmtlib/fmt
|
|
GIT_TAG 7.1.3
|
|
)
|
|
|
|
add_subdirectory(nvbench)
|
|
add_subdirectory(testing)
|