Add the CUDA samples include dir to the path for tests

Means we get to easily steal CUDA examples for tests


[ROCm/clr commit: 64d5f07050]
Αυτή η υποβολή περιλαμβάνεται σε:
Chris Kitching
2017-10-18 20:41:23 +01:00
γονέας 7547f796d0
υποβολή 8fffd03350
@@ -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"))