commit | 6572078a992d0e1f98c812f7d9820722096991c9 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Thu Mar 11 04:26:17 2021 -0800 |
committer | Gabe Black <gabe.black@gmail.com> | Thu Mar 11 22:53:53 2021 +0000 |
tree | c9bc2029b2dfb5ca52aa1845ff055096cefe0959 | |
parent | cf1659a0c82adfdd0ab9cca7d7aaa31d42c2d8e2 [diff] |
cpu: Delete unnecessary create() methods. These were added in changes which were created before create() methods were mostly automated, but were checked in after the then unnecessary create() methods were purged. Change-Id: I03da797ae8328fab6ef6b85dbc4ea86b34512fd5 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42743 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/cpu/testers/gpu_ruby_test/cpu_thread.cc b/src/cpu/testers/gpu_ruby_test/cpu_thread.cc index fa801b3..d0ac10e 100644 --- a/src/cpu/testers/gpu_ruby_test/cpu_thread.cc +++ b/src/cpu/testers/gpu_ruby_test/cpu_thread.cc
@@ -43,12 +43,6 @@ assert(numLanes == 1); } -CpuThread* -CpuThreadParams::create() const -{ - return new CpuThread(*this); -} - void CpuThread::issueLoadOps() {
diff --git a/src/cpu/testers/gpu_ruby_test/dma_thread.cc b/src/cpu/testers/gpu_ruby_test/dma_thread.cc index 254158d..e5f79c9 100644 --- a/src/cpu/testers/gpu_ruby_test/dma_thread.cc +++ b/src/cpu/testers/gpu_ruby_test/dma_thread.cc
@@ -48,12 +48,6 @@ } -DmaThread* -DmaThreadParams::create() const -{ - return new DmaThread(*this); -} - void DmaThread::issueLoadOps() {
diff --git a/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc b/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc index f2f1343..a90b204 100644 --- a/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc +++ b/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc
@@ -48,12 +48,6 @@ } -GpuWavefront* -GpuWavefrontParams::create() const -{ - return new GpuWavefront(*this); -} - void GpuWavefront::issueLoadOps() {
diff --git a/src/cpu/testers/gpu_ruby_test/protocol_tester.cc b/src/cpu/testers/gpu_ruby_test/protocol_tester.cc index a8f8408..95e6035 100644 --- a/src/cpu/testers/gpu_ruby_test/protocol_tester.cc +++ b/src/cpu/testers/gpu_ruby_test/protocol_tester.cc
@@ -357,9 +357,3 @@ return true; } - -ProtocolTester* -ProtocolTesterParams::create() const -{ - return new ProtocolTester(*this); -}