amdgpu target prefers pointer type kernel arg in default address space
to be coerced to device address space for better performance.
This patch fixes that.
Differential D69818
[HIP] Fix pointer type kernel arg for amdgpu Authored by yaxunl on Nov 4 2019, 12:47 PM.
Details
Diff Detail Event TimelineComment Actions BTW Michael Liao will create another patch which will supersede this patch. That patch contains similar changes and also handles pointers in a byval struct or array.
Comment Actions Please review Michael's patch https://reviews.llvm.org/D69826 which supersedes this one. Thanks. | ||||||
What's the purpose of this change?