[HIPIFY] Introduce CUDA installation path option '-cuda-path'

Repeats clang's '--cuda-path' option.

[Reason]
In case of absence of any other clang's options setting '-cuda-path' allows not to specify separator '--' before clang's '--cuda-path'.

+ Tests and scripts are updated accordingly.
Esse commit está contido em:
Evgeny Mankov
2019-01-09 20:18:36 +03:00
commit fbfe005e4e
45 arquivos alterados com 64 adições e 51 exclusões
@@ -1,4 +1,4 @@
// RUN: %run_test hipify "%s" "%t" %cuda_args
// RUN: %run_test hipify "%s" "%t" %hipify_args %clang_args
// CHECK: #include <hip/hip_runtime.h>
// CHECK: #include "hip/hip_complex.h"