P4 to Git Change 1463068 by lmoriche@lmoriche_opencl_dev2 on 2017/09/25 17:58:14
SWDEV-86035 - Fix OCL/PAL build on Linux Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#22 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#38 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#60 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#33 edit
This commit is contained in:
1 parent
db63366bcb
commit
98366d2b59
5 files changed
+19
-15
No files matched your search
@@ -175,7 +175,7 @@ void VirtualGPU::Queue::removeCmdMemRef(GpuMemoryReference* mem) {
|
||||
}
|
||||
|
||||
void VirtualGPU::Queue::addCmdDoppRef(Pal::IGpuMemory* iMem, bool lastDoppCmd, bool pfpaDoppCmd) {
|
||||
for (int i = 0; i < palDoppRefs_.size(); i++) {
|
||||
for (size_t i = 0; i < palDoppRefs_.size(); i++) {
|
||||
if (palDoppRefs_[i].pGpuMemory == iMem) {
|
||||
// If both LAST_DOPP_SUBMISSION and PFPA_DOPP_SUBMISSION VCOPs are requested,
|
||||
// the LAST_DOPP_SUBMISSION is send as requsted by KMD
|
||||
@@ -2944,16 +2944,6 @@ bool VirtualGPU::profilingCollectResults(CommandBatch* cb, const amd::Event* wai
|
||||
return found;
|
||||
}
|
||||
|
||||
void VirtualGPU::addVmMemory(const Memory* memory) {
|
||||
GpuEvent event(queues_[MainEngine]->cmdBufId());
|
||||
queues_[MainEngine]->addCmdMemRef(memory->memRef());
|
||||
memory->setBusy(*this, event);
|
||||
}
|
||||
|
||||
void VirtualGPU::AddKernel(const amd::Kernel& kernel) const {
|
||||
queues_[MainEngine]->last_kernel_ = &kernel;
|
||||
}
|
||||
|
||||
void VirtualGPU::addDoppRef(const Memory* memory, bool lastDoppCmd, bool pfpaDoppCmd) {
|
||||
queues_[MainEngine]->addCmdDoppRef(memory->iMem(), lastDoppCmd, pfpaDoppCmd);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user