[ROCm/rocprofiler commit: cb3a591826]
Этот коммит содержится в:
Evgeny committed 2017-11-29 13:53:12 -06:00
1 родитель 15471db275
Коммит 8b5a6b7fed
31 file changed
+734 -702

No files matched your search

+1 -2
Просмотреть файл
@@ -48,8 +48,7 @@ bool TestPMgr::AddPacketGfx9(const packet_t* packet) {
*slot = aql_packet;
// After AQL packet is fully copied into queue buffer
// update packet header from invalid state to valid state
auto header_atomic_ptr =
reinterpret_cast<std::atomic<uint16_t>*>(&slot->header);
auto header_atomic_ptr = reinterpret_cast<std::atomic<uint16_t>*>(&slot->header);
header_atomic_ptr->store(header, std::memory_order_release);
// Increment the write index and ring the doorbell to dispatch the kernel.