Clang itself provided only one diagnostic: Skipped some replacements, but all the replacements were skipped, in fact.
Without the wrappingcheckCudaErrors macro, the hipification works correctly.
[Solution]
Take into account possible macro expansions by starting to use the function getWriteRange, in which possible macro expansions have already been handled.
[ToDo]
Revise all the rest matchers and switch them to using getWriteRange AMAP.
Try to provide more detailed diagnostics for matchers.
[Synopsis]
Skipped some replacements,
but all the replacements were skipped, in fact.checkCudaErrors
macro, the hipification works correctly.[Solution]
getWriteRange
, in which possible macro expansions have already been handled.[ToDo]
getWriteRange
AMAP.