[HIPIFY] Initial support of translation to ROCm
+ Option '-roc' is added to translate to ROCm instead of HIP
+ Update hipification mechanism accordingly
+ Populate all translation maps with additional field for ROCm identifiers
+ There are 4 degrees of CUDA support now: full support, only by HIP, only by ROCm, unsupported
[ROCm/hip commit: c5ed25da22]
This commit is contained in:
1 parent
42f97d2e46
commit
3621afd4e6
23 files changed
+3735
-3705
No files matched your search
@@ -7,6 +7,11 @@ cl::opt<std::string> OutputFilename("o",
|
||||
cl::value_desc("filename"),
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
cl::opt <bool> TranslateToRoc("roc",
|
||||
cl::desc("Translate to roc instead of hip where it is possible"),
|
||||
cl::value_desc("roc"),
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
cl::opt<bool> Inplace("inplace",
|
||||
cl::desc("Modify input file inplace, replacing input with hipified output, save backup in .prehip file"),
|
||||
cl::value_desc("inplace"),
|
||||
|
||||
Reference in new issue
Block a user