diff options
Diffstat (limited to 'src/gpu-compute/gpu_tlb.cc')
-rw-r--r-- | src/gpu-compute/gpu_tlb.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu-compute/gpu_tlb.cc b/src/gpu-compute/gpu_tlb.cc index 1f1a4cc61..b5411f82c 100644 --- a/src/gpu-compute/gpu_tlb.cc +++ b/src/gpu-compute/gpu_tlb.cc @@ -61,7 +61,9 @@ namespace X86ISA GpuTLB::GpuTLB(const Params *p) : MemObject(p), configAddress(0), size(p->size), - cleanupEvent(this, false, Event::Maximum_Pri), exitEvent(this) + cleanupEvent([this]{ cleanup(); }, name(), false, + Event::Maximum_Pri), + exitEvent([this]{ exitCallback(); }, name()) { assoc = p->assoc; assert(assoc <= size); |