Don't reset queue_address/queue_size
We should preserve the queue address and queue size when suspending a
queue. The ROCdbgapi gets all its information from the KFD, and if we
reset the queue properties, a call to queue snapshot will not return
the correct information.
Change-Id: I646ed4a779cada55b0c1b4342ec140d3678beb67
[ROCm/ROCR-Runtime commit: 4f1a9c8139]
このコミットが含まれているのは:
@@ -707,7 +707,7 @@ int AqlQueue::CreateRingBufferFD(const char* ring_buf_shm_path,
|
||||
|
||||
void AqlQueue::Suspend() {
|
||||
suspended_ = true;
|
||||
auto err = hsaKmtUpdateQueue(queue_id_, 0, priority_, NULL, 0, NULL);
|
||||
auto err = hsaKmtUpdateQueue(queue_id_, 0, priority_, ring_buf_, ring_buf_alloc_bytes_, NULL);
|
||||
assert(err == HSAKMT_STATUS_SUCCESS && "hsaKmtUpdateQueue failed.");
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする