SWDEV-232428 - Fix CI regressions caused by 99e8ac5

Change-Id: I36e9ce964f4d7733450eee356d425d23e1d7ff2c
This commit is contained in:
Vladislav Sytchenko
2021-03-09 11:07:24 -05:00
parent 99e8ac55cd
commit 27e3b875f7
2 changed files with 4 additions and 5 deletions
+4 -4
View File
@@ -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
View File
@@ -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_);