[Openmp-commits] [openmp] [OpenMP] Enable automatic unified shared memory on MI300A. (PR #77512)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 9 19:11:40 PST 2024
================
@@ -2728,6 +2749,30 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
return Err;
}
+ /// Detect if current architecture is an APU.
+ Error checkIfAPU() {
+ std::string StrGfxName(ComputeUnitKind);
----------------
carlobertolli wrote:
Should I use
const std::string StrGfxName(ComputeUnitKind);
?
Or how do you propose I change the code?
https://github.com/llvm/llvm-project/pull/77512
More information about the Openmp-commits
mailing list