From 71aa7e267ac175974ba191a6bfdaa98aa2ece252 Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Wed, 18 Oct 2017 20:41:23 +0100 Subject: [PATCH] Add the CUDA samples include dir to the path for tests Means we get to easily steal CUDA examples for tests --- tests/hipify-clang/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hipify-clang/lit.cfg b/tests/hipify-clang/lit.cfg index bb6ac2b407..76b2ca08dc 100644 --- a/tests/hipify-clang/lit.cfg +++ b/tests/hipify-clang/lit.cfg @@ -47,5 +47,5 @@ if obj_root is not None: config.substitutions.append(("hipify", obj_root+"/hipify-clang")) # Clang args for CUDA... -config.substitutions.append(("%cuda_args", "-x cuda --cuda-path=%s --cuda-gpu-arch=sm_30" % config.cuda_root)) +config.substitutions.append(("%cuda_args", "-x cuda --cuda-path=%s --cuda-gpu-arch=sm_30 -isystem%s/samples/common/inc" % (config.cuda_root, config.cuda_root))) config.substitutions.append(("%run_test", config.test_source_root + "/run_test.sh"))