[Openmp-commits] [openmp] [OpenMP][libomptarget] Enable automatic unified shared memory executi… (PR #75999)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 19 19:32:40 PST 2023


================
@@ -2913,7 +2913,7 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
   /// Create an AMDGPU plugin and initialize the AMDGPU driver.
   AMDGPUPluginTy()
       : GenericPluginTy(getTripleArch()), Initialized(false),
-        HostDevice(nullptr) {}
+        HostDevice(nullptr), IsAPU(false), OMPX_HSAXnack("HSA_XNACK", false) {}
----------------
shiltian wrote:

TBH I think all these class members can be initialized directly when the class is defined. No need to list them here.

https://github.com/llvm/llvm-project/pull/75999


More information about the Openmp-commits mailing list