[HIPIFY] Introduce --cuda-gpu-arch as hipify-clang's option
+ Pass it to clang if specified
This commit is contained in:
1 parent
562da597a0
commit
02589264a0
3 files changed
+13
No files matched your search
@@ -138,4 +138,12 @@ cl::opt<bool> SkipExcludedPPConditionalBlocks("skip-excluded-preprocessor-condit
|
||||
cl::value_desc("skip-excluded-preprocessor-conditional-blocks"),
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
cl::opt<std::string> CudaGpuArch("cuda-gpu-arch",
|
||||
cl::desc("CUDA GPU architecture (e.g. sm_35);\nmay be specified more than once"),
|
||||
cl::value_desc("value"),
|
||||
cl::ZeroOrMore,
|
||||
cl::Prefix,
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
|
||||
cl::extrahelp CommonHelp(ct::CommonOptionsParser::HelpMessage);
|
||||
Reference in new issue
Block a user