From a8fb7a0c1d42aa335643bc2cf1b80ac36ea715ec Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Wed, 27 May 2020 03:36:31 -0700 Subject: [PATCH] gpu-compute,misc: Removed unused 'vaddr' capture Clang compilers return a `error: lambda capture 'vaddr' is not used` error when compiling HSAIL_X86/gem5.opt. This unused lambda capture has therefore been removed. Change-Id: I2a7c58174a9ef83435099ab4daf84c762f017dd4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29533 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Reviewed-by: Anthony Gutierrez Maintainer: Jason Lowe-Power Maintainer: Anthony Gutierrez --- src/gpu-compute/gpu_tlb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu-compute/gpu_tlb.cc b/src/gpu-compute/gpu_tlb.cc index 2ae40dadf..37a8b03a2 100644 --- a/src/gpu-compute/gpu_tlb.cc +++ b/src/gpu-compute/gpu_tlb.cc @@ -314,7 +314,7 @@ namespace X86ISA return std::make_shared(0); req->setLocalAccessor( - [read,regNum,vaddr](ThreadContext *tc, PacketPtr pkt) + [read,regNum](ThreadContext *tc, PacketPtr pkt) { return localMiscRegAccess(read, regNum, tc, pkt); } -- 2.30.2