From 8f22b3bee8a52128f05112d1f594a9cd9a23f25e Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 4 May 2021 10:58:45 -0700 Subject: [PATCH] arch-gcn3: Add missing overrides These overrides are required to compile gcn3_x86 with clang. Change-Id: I65ece501f16a4fbf8ffdc6b754de69fb36ab7515 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45085 Maintainer: Bobby R. Bruce Reviewed-by: Matt Sinclair Tested-by: kokoro --- src/gpu-compute/gpu_compute_driver.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu-compute/gpu_compute_driver.hh b/src/gpu-compute/gpu_compute_driver.hh index 922a699d27..48ca8761ab 100644 --- a/src/gpu-compute/gpu_compute_driver.hh +++ b/src/gpu-compute/gpu_compute_driver.hh @@ -65,9 +65,9 @@ class GPUComputeDriver final : public EmulatedDriver GPUComputeDriver(const Params &p); int ioctl(ThreadContext *tc, unsigned req, Addr ioc_buf) override; - int open(ThreadContext *tc, int mode, int flags); + int open(ThreadContext *tc, int mode, int flags) override; Addr mmap(ThreadContext *tc, Addr start, uint64_t length, - int prot, int tgt_flags, int tgt_fd, off_t offset); + int prot, int tgt_flags, int tgt_fd, off_t offset) override; virtual void signalWakeupEvent(uint32_t event_id); void sleepCPU(ThreadContext *tc, uint32_t milliSecTimeout); /**