[Openmp-commits] [openmp] [libomptarget][nextgen-plugin] Use SCRELEASE/SCACQUIRE in packet headers (PR #85678)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 18 16:32:42 PDT 2024


================
@@ -826,15 +826,14 @@ struct AMDGPUQueueTy {
   /// Assumes the queue lock is acquired.
   void publishKernelPacket(uint64_t PacketId, uint16_t Setup,
                            hsa_kernel_dispatch_packet_t *Packet) {
-    uint32_t *PacketPtr = reinterpret_cast<uint32_t *>(Packet);
----------------
jhuber6 wrote:

Why was this removed and replaced with a C-style cast on a 16-byte value?

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


More information about the Openmp-commits mailing list