Files
nvbench/nvbench/version.cuh
Allison Piper 109449438b Use the new(ish) PREFIX option of rapids-cmake version, git revision header utils.
Generate macros prefixed with NVBENCH instead of redefining them from NVBench.
2025-04-15 20:33:06 +00:00

33 lines
943 B
Plaintext

/*
* Copyright 2021 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 with the LLVM exception
* (the "License"); you may not use this file except in compliance with
* the License.
*
* You may obtain a copy of the License at
*
* http://llvm.org/foundation/relicensing/LICENSE.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
// Include the auto-generated version header:
#include <nvbench/detail/version.cuh>
// clang-format off
/// Numeric version as "MMmmpp"
#define NVBENCH_VERSION \
NVBENCH_VERSION_MAJOR * 10000 + \
NVBENCH_VERSION_MINOR * 100+ \
NVBENCH_VERSION_PATCH
// clang-format on