hsail: Get rid of an inert private member of StorageSpace.
authorGabe Black <gabeblack@google.com>
Fri, 16 Mar 2018 07:53:42 +0000 (00:53 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 22 Mar 2018 19:46:54 +0000 (19:46 +0000)
commite09a581188cbc2e1ff989d500399d0125a4dbc07
tree07bae67d95240b83dd5024785839b454c3a9720c
parentd28bc0f946fcb7d6ad90b74f917db9fa9d311191
hsail: Get rid of an inert private member of StorageSpace.

The "segment" private element in this class was only ever set to zero
on construction, and then used to index into a list of segment names
to get the string "none" in a DPRINTF. If debugging was turned off,
there would be no consumers of that variable, and that upset g++. This
change removes the essentially useless variable, and also that bit of
text in the DPRINTF.

Change-Id: I3f85db4af5f0678768243daf84b8d698350af931
Reviewed-on: https://gem5-review.googlesource.com/9221
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/gpu-compute/hsail_code.cc
src/gpu-compute/hsail_code.hh