[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.
This commit is contained in:
Evgeny Mankov
2019-01-09 20:18:36 +03:00
parent 0e750d727f
commit fbfe005e4e
45 changed files with 64 additions and 51 deletions
+5
View File
@@ -39,6 +39,11 @@ cl::opt<std::string> TemporaryDir("temp-dir",
cl::value_desc("directory"),
cl::cat(ToolTemplateCategory));
cl::opt<std::string> CudaPath("cuda-path",
cl::desc("CUDA installation path"),
cl::value_desc("directory"),
cl::cat(ToolTemplateCategory));
cl::opt <bool> SaveTemps("save-temps",
cl::desc("Save temporary files"),
cl::value_desc("save-temps"),