From 65155c7159b35c45fad5992ea73a2555a0c0b9cf Mon Sep 17 00:00:00 2001 From: emankov Date: Thu, 3 Jan 2019 18:06:49 +0300 Subject: [PATCH] [HIPIFY][tests] Exclude CUDA 8.0 (9.0) tests if CUDA < 8.0 (9.0) --- tests/hipify-clang/lit.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hipify-clang/lit.cfg b/tests/hipify-clang/lit.cfg index 7b25731ba6..462aba6c52 100644 --- a/tests/hipify-clang/lit.cfg +++ b/tests/hipify-clang/lit.cfg @@ -15,12 +15,14 @@ print("CUDA " + config.cuda_version + " will be used for testing.") config.excludes = ['cmdparser.hpp'] +if config.cuda_version_major < 8: + config.excludes.append('cuSPARSE_02.cu') if config.cuda_version_major < 9: config.excludes.append('cuSPARSE_04.cu') config.excludes.append('cuSPARSE_05.cu') config.excludes.append('cuSPARSE_06.cu') config.excludes.append('cuSPARSE_07.cu') - + config.excludes.append('benchmark_curand_kernel.cpp') if config.cuda_version_major < 10: config.excludes.append('cuSPARSE_08.cu') config.excludes.append('cuSPARSE_09.cu')