[Openmp-commits] [openmp] [OpenMP] Enable automatic unified shared memory on MI300A. (PR #77512)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Sat Jan 13 10:41:34 PST 2024
================
@@ -2728,6 +2780,34 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
return Err;
}
+ /// Detect if current architecture is an APU.
+ Error checkIfAPU() {
----------------
jhuber6 wrote:
Well maybe this function should be renamed then? Because I saw that the linked code above used that method to determine `is_apu_node`, which seemed identical to what this is trying to determine. So this profile is set based off of `is_apu_node` in the above source. So is this referring to something different?
https://github.com/llvm/llvm-project/pull/77512
More information about the Openmp-commits
mailing list