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
+1 -1
Просмотреть файл
@@ -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"))