gpu-compute: Fix Python/C++ object hierarchy discrepancies
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 27 Feb 2017 13:17:51 +0000 (13:17 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Mar 2017 11:50:35 +0000 (11:50 +0000)
commitb043dcf58ad766582aeab162fb855cc3fc95f2cf
tree1da517346bef667cf20f80a54c934a3931129e4f
parentc07a2d68f34ab4cef8b3ed4d079316d2b4306244
gpu-compute: Fix Python/C++ object hierarchy discrepancies

The GPUCoalescer and the Shader classes have different base classes in
C++ and Python. This causes subtle bugs in SWIG and compilation errors
for PyBind.

Change-Id: I1ddd2a8ea43f083470538ddfea891347b21d14d8
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2228
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Pierre-Yves PĂ©neau <pierre-yves.peneau@lirmm.fr>
Reviewed-by: Bradford Beckmann <brad.beckmann@amd.com>
src/gpu-compute/shader.cc
src/gpu-compute/shader.hh
src/mem/ruby/system/GPUCoalescer.hh
src/mem/ruby/system/GPUCoalescer.py