lattice / quda

QUDA is a library for performing calculations in lattice QCD on GPUs.
https://lattice.github.io/quda
Other
279 stars 94 forks source link

Make QUDA understand memoryType in older ROCms #1445

Closed dmcdougall closed 4 months ago

dmcdougall commented 4 months ago

Older ROCms (before 5.5) didn't have the memoryType/type union that was included for forwards compatibility, so we're safeguarding in the case where folks are stuck with an older ROCm version.

I'm hoping this will help address #1432.

kostrzewa commented 4 months ago

Thanks a lot, this fixes #1432. I can run with force offloading on LUMI-G now. I'm glad this backwards-compatibility introduces only these minimal changes.

maddyscientist commented 4 months ago

Thanks for confirming this fixes #1432. I'll merge this PR.