From 8fffd0335075c52cc31ea4f03ce9eab694952ef2 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 [ROCm/clr commit: 64d5f07050165e15325a3791540b10efad6cce43] --- projects/clr/hipamd/tests/hipify-clang/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/tests/hipify-clang/lit.cfg b/projects/clr/hipamd/tests/hipify-clang/lit.cfg index bb6ac2b407..76b2ca08dc 100644 --- a/projects/clr/hipamd/tests/hipify-clang/lit.cfg +++ b/projects/clr/hipamd/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"))