From 3bc9033f6fa6ada4638d9d5ee8845437d513bebd Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Wed, 15 Jan 2025 11:52:30 +0100 Subject: [PATCH] Upgrade to Catch2 3.8 (#3310) Fixes: #1724 --- cub/benchmarks/bench/reduce/custom.cu | 42 --------------------------- 1 file changed, 42 deletions(-) delete mode 100644 cub/benchmarks/bench/reduce/custom.cu diff --git a/cub/benchmarks/bench/reduce/custom.cu b/cub/benchmarks/bench/reduce/custom.cu deleted file mode 100644 index 0203ef60b8c..00000000000 --- a/cub/benchmarks/bench/reduce/custom.cu +++ /dev/null @@ -1,42 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the NVIDIA CORPORATION nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - ******************************************************************************/ - -// This benchmark uses a custom reduction operation, max_t, which is not known to CUB, so no operator specific -// optimizations (e.g. using redux or DPX instructions) are performed. This benchmark covers the unoptimized code path. - -// Because CUB cannot detect this operator, we cannot add any tunings based on the results of this benchmark. Its main -// use is to detect regressions. - -#include - -// %RANGE% TUNE_ITEMS_PER_THREAD ipt 7:24:1 -// %RANGE% TUNE_THREADS_PER_BLOCK tpb 128:1024:32 -// %RANGE% TUNE_ITEMS_PER_VEC_LOAD_POW2 ipv 1:2:1 - -using value_types = all_types; -using op_t = max_t; -#include "base.cuh"