mem-ruby: Add codes for pure virtual functions for compilation
authorXianwei Zhang <xianwei.zhang.@amd.com>
Tue, 1 May 2018 19:55:52 +0000 (15:55 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Tue, 9 Jun 2020 20:00:13 +0000 (20:00 +0000)
Change-Id: Ic34f9ccf10ec28d68eed236dc6246e2ae2ef1b89
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28409
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>

src/mem/ruby/system/VIPERCoalescer.cc
src/mem/ruby/system/VIPERCoalescer.hh

index d8977ac853c77fd6322dabf2e8714644139a709f..cdef2b1f3f00d7b3432adf846f51d3c94c5b28a1 100644 (file)
@@ -76,6 +76,16 @@ VIPERCoalescer::~VIPERCoalescer()
 {
 }
 
+void
+VIPERCoalescer::issueRequest(CoalescedRequest* crequest)
+{
+}
+
+void
+VIPERCoalescer::issueMemSyncRequest(PacketPtr pkt)
+{
+}
+
 // Places an uncoalesced packet in uncoalescedTable. If the packet is a
 // special type (MemFence, scoping, etc), it is issued immediately.
 RequestStatus
index 2b6e86e0c159c624992e78c3744c971eba2ded1f..814166df409887839971a79fd0de9ccd20395c4a 100644 (file)
@@ -57,6 +57,9 @@ class VIPERCoalescer : public GPUCoalescer
     typedef VIPERCoalescerParams Params;
     VIPERCoalescer(const Params *);
     ~VIPERCoalescer();
+
+    void issueMemSyncRequest(PacketPtr pkt);
+    void issueRequest(CoalescedRequest* crequest) override;
     void wbCallback(Addr address);
     void invCallback(Addr address);
     RequestStatus makeRequest(PacketPtr pkt);