SWDEV-232428 - Fix CI regressions caused by 99e8ac5

Change-Id: I36e9ce964f4d7733450eee356d425d23e1d7ff2c
Esse commit está contido em:
Vladislav Sytchenko committed 2021-03-09 11:09:55 -05:00
1 pai 99e8ac55cd
commit 27e3b875f7
2 files changed
+4 -5

No files matched your search

+4 -4
Ver Arquivo
@@ -362,11 +362,11 @@ void HostcallListener::removeBuffer(HostcallBuffer* buffer) {
bool HostcallListener::initialize(const amd::Device &dev) {
doorbell_ = dev.createSignal();
#ifdef WITH_PAL_DEVICE
auto ws = device::Signal::WaitState::Active;
#elif WITH_HSA_DEVICE
#ifdef WITH_HSA_DEVICE
auto ws = device::Signal::WaitState::Blocked;
#endif
#elif
auto ws = device::Signal::WaitState::Active;
#endif
if ((doorbell_ == nullptr) || !doorbell_->Init(dev, SIGNAL_INIT, ws)) {
return false;
}
-1
Ver Arquivo
@@ -355,7 +355,6 @@ hsa_kernel_dispatch_packet_t* HSAILKernel::loadArguments(VirtualGPU& gpu, const
if (!buffer) {
ClPrint(amd::LOG_ERROR, amd::LOG_KERN,
"Kernel expects a hostcall buffer, but none found");
return false;
}
assert(it.size_ == sizeof(buffer) && "check the sizes");
WriteAqlArgAt(const_cast<address>(parameters), &buffer, it.size_, it.offset_);