gpu-compute: Remove unneeded Request::setVirt call
authorAlexandru Dutu <alexandru.dutu@amd.com>
Mon, 25 Jun 2018 16:51:53 +0000 (12:51 -0400)
committerAlexandru Duțu <alexandru.dutu@amd.com>
Tue, 26 Jun 2018 16:46:40 +0000 (16:46 +0000)
commit90d448080e283a6ba4aca7677b985d4807a40476
tree0140f6b1ff720a20863d664f272828689645ed52
parenteab83998f76bb2ee26c03e280e9f6639b8a55ed8
gpu-compute: Remove unneeded Request::setVirt call

This sets the members of a Request object to the values they
already hold, except the atomicOpFunctor which is set to
nullptr. This call introduces a bug for atomics and is not
useful for non-atomic requests. This changeset is also
adding the wave PC and instruction sequence number to the
Request object.

Change-Id: I62f7b4a597483b0aa848a0cfbc72181e1063f56a
Reviewed-on: https://gem5-review.googlesource.com/11549
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/gpu-compute/compute_unit.cc