[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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user