gpu: upload missed cache change

This commit is contained in:
DH 2024-11-01 10:16:08 +03:00
parent c90eb84471
commit 09f2d5bfc2

View File

@ -93,6 +93,9 @@ handle_signal(int sig, siginfo_t *info, void *ucontext) {
continue;
}
gpuContext.gpuCacheCommandIdle.fetch_add(1, std::memory_order::release);
gpuContext.gpuCacheCommandIdle.notify_all();
while (!gpuContext.cachePages[vmid][page].compare_exchange_weak(
flags, flags & ~amdgpu::kPageLazyLock,
std::memory_order::relaxed)) {