SWDEV-86035 - Switch PAL version to 572

Change-Id: I948bcfdb247a9d2d10c4089fd40d184f8999501b


[ROCm/clr commit: f7c95a7ec5]
This commit is contained in:
German Andryeyev
2020-03-12 11:04:18 -04:00
committed by Christophe Paquot
parent 607745e99c
commit 60466af0bb
3 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# PAL interface versions
PAL_MAJOR_VERSION = 563
PAL_MAJOR_VERSION = 572
GPUOPEN_MAJOR_VERSION = 41
@@ -510,8 +510,8 @@ Pal::Result RgpCaptureMgr::BeginRGPTrace(VirtualGPU* gpu) {
// Fill GPU commands
gpu->eventBegin(MainEngine);
trace_.gpa_sample_id_ =
trace_.gpa_session_->BeginSample(gpu->queue(MainEngine).iCmd(), sampleConfig);
result = trace_.gpa_session_->BeginSample(
gpu->queue(MainEngine).iCmd(), sampleConfig, &trace_.gpa_sample_id_);
gpu->eventEnd(MainEngine, trace_.begin_sqtt_event_);
}
+16 -8
View File
@@ -358,14 +358,22 @@ bool VirtualGPU::Queue::flush() {
return false;
}
Pal::SubmitInfo submitInfo = {};
submitInfo.cmdBufferCount = 1;
submitInfo.ppCmdBuffers = &iCmdBuffs_[cmdBufIdSlot_];
submitInfo.pFence = iCmdFences_[cmdBufIdSlot_];
submitInfo.doppRefCount = palDoppRefs_.size();
submitInfo.pDoppRefs = palDoppRefs_.data();
submitInfo.externPhysMemCount = palSdiRefs_.size();
submitInfo.ppExternPhysMem = palSdiRefs_.data();
Pal::PerSubQueueSubmitInfo perSubQueueSubmitInfo = {};
perSubQueueSubmitInfo.cmdBufferCount = 1;
perSubQueueSubmitInfo.ppCmdBuffers = &iCmdBuffs_[cmdBufIdSlot_];
Pal::MultiSubmitInfo submitInfo = {};
submitInfo.perSubQueueInfoCount = 1;
submitInfo.pPerSubQueueInfo = &perSubQueueSubmitInfo;
submitInfo.doppRefCount = palDoppRefs_.size();
submitInfo.pDoppRefs = palDoppRefs_.data();
submitInfo.externPhysMemCount = palSdiRefs_.size();
submitInfo.ppExternPhysMem = palSdiRefs_.data();
submitInfo.fenceCount = 1;
submitInfo.ppFences = &iCmdFences_[cmdBufIdSlot_];
// Submit command buffer to OS
Pal::Result result;