From 0a0b4dc7c7c595a5e3d6ec3c317eb2a61daeb338 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Thu, 15 Aug 2024 14:04:40 +0100 Subject: [PATCH] [HIPIFY][CUB][tests] Temporary disabling of `CUB` tests for `CUDA >= 12.6.x` [Reason] clang compilation error: `CUDA/v12.6.0/include\cuda/std/__algorithm/min.h(49,1): error G65037BDE: expected ')' min(initializer_list<_Tp> __t, _Compare __comp)` [Note] Even the latest trunk clang 20.0.0git doesn't fully support CUDA >= 12.5 --- tests/lit.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/lit.cfg b/tests/lit.cfg index f18c72ec..0a3e2843 100644 --- a/tests/lit.cfg +++ b/tests/lit.cfg @@ -144,6 +144,11 @@ if config.cuda_version_major >= 12: config.excludes.append('cusparse2rocsparse_before_12000.cu') clang_arguments += " -D_LIBCUDACXX_OBJECT_FORMAT_COFF" +if config.cuda_version_major == 12 and config.cuda_version_minor >= 6: + config.excludes.append('cub_01.cu') + config.excludes.append('cub_02.cu') + config.excludes.append('cub_03.cu') + if config.cudnn_version_major >= 9: config.excludes.append('cudnn2miopen_before_9000.cu')