hsail-x86: fix gpu dynamic instruction error
authorBrandon Potter <brandon.potter@amd.com>
Fri, 17 Aug 2018 00:58:19 +0000 (20:58 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Fri, 17 Aug 2018 16:58:05 +0000 (16:58 +0000)
commit28d65f8075ddc024048062166c4ea0ccf6034f28
treef6d4485b763a76b10c14a6dd583132c71f3e678e
parentc5607563fbcc48d7f84ef41057947a18ebcbdeaf
hsail-x86: fix gpu dynamic instruction error

The gpu_dyn_inst.hh file was missing a clone method from
inherited classes. (The clone method is the way to implement
the prototype design pattern.) Because the inherited clone
method was declare as pure virtual, the method needed to
be implemented. Otherwise, the compiler complains that the
class is abstract.

Change-Id: I38782d5f7379f32be886401f7c127fe60d2f8811
Reviewed-on: https://gem5-review.googlesource.com/12108
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/gpu-compute/gpu_dyn_inst.hh