diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/signal.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/signal.cpp index 6cc1eaf759..518b5b121c 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/signal.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/signal.cpp @@ -79,11 +79,11 @@ SharedSignal* SharedSignalPool_t::alloc() { ScopedAcquire lock(&lock_); if (free_list_.empty()) { SharedSignal* block = reinterpret_cast( - allocate_()(block_size_ * sizeof(SharedSignal), __alignof(SharedSignal), 0, 0)); + allocate_()(block_size_ * sizeof(SharedSignal), __alignof(SharedSignal), core::MemoryRegion::AllocateNonPaged, 0)); if (block == nullptr) { block_size_ = minblock_; block = reinterpret_cast( - allocate_()(block_size_ * sizeof(SharedSignal), __alignof(SharedSignal), 0, 0)); + allocate_()(block_size_ * sizeof(SharedSignal), __alignof(SharedSignal), core::MemoryRegion::AllocateNonPaged, 0)); if (block == nullptr) throw std::bad_alloc(); }