SWDEV-451166 - Disable kernel args for non-XGMI if HDP flush register is invalid
Change-Id: I227e046e2b9cb25476a50240f5d070adbd558f21
[ROCm/clr commit: 96f5c44851]
This commit is contained in:
@@ -396,9 +396,17 @@ hipError_t GraphExec::CaptureAQLPackets() {
|
||||
}
|
||||
|
||||
if (device_kernarg_pool_ && !device->isXgmi()) {
|
||||
*device->info().hdpMemFlushCntl = 1u;
|
||||
if (*device->info().hdpMemFlushCntl != UINT32_MAX) {
|
||||
LogError("Unexpected HDP Register readback value!");
|
||||
if (device->info().hdpMemFlushCntl != nullptr) {
|
||||
*device->info().hdpMemFlushCntl = 1u;
|
||||
if (*device->info().hdpMemFlushCntl != UINT32_MAX) {
|
||||
LogError("Unexpected HDP Register readback value!");
|
||||
}
|
||||
} else {
|
||||
amd::Command* command = new amd::Marker(*capture_stream_, true);
|
||||
if (command != nullptr) {
|
||||
command->enqueue();
|
||||
command->release();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user