[HIPIFY][tests] Exclude all CUB tests if CUDA_CUB_ROOT_DIR is not set

This commit is contained in:
Evgeny Mankov
2019-10-20 20:03:18 +03:00
parent 01819a4a24
commit 5bf1ff19ff
+2
View File
@@ -33,6 +33,8 @@ if not config.cuda_dnn_root:
warns = True
if not config.cuda_cub_root:
config.excludes.append('cub_01.cu')
config.excludes.append('cub_02.cu')
config.excludes.append('cub_03.cu')
print("WARN: CUB tests are excluded due to unset CUDA_CUB_ROOT_DIR")
warns = True
if warns: