[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
rodzic 3baf7f8d93
commit ccb075b1db
+2
Wyświetl plik
@@ -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: