d1cfcf55f1
[Explanation] Narrow cudaKernelCallExpr matcher to isExpansionInMainFile() - to the file being actually converted (without system includes). But as for Thrust, there are *.inl files, which are nevertheless being expanded in main file. These files contain cuda kernel launches, which are not converted successfully by hipify, for instance: thrust/system/cuda/detail/detail/launch_closure.inl:98:23. [ToDo] File a bug on cudaKernelCallExpr matcher for conversion error (thrust\examples\cuda\<any cu example>).