gpu-compute, hsail: call discardFetch() from the WF
authorTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 27 Oct 2016 02:47:27 +0000 (22:47 -0400)
committerTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 27 Oct 2016 02:47:27 +0000 (22:47 -0400)
commitc7a79c9a4298220852252738dbf5d7d174705333
treec4b00969af16a9cef490137918ccd2ced09287fa
parent00a6346c91f6e09eb9c0f4cf61a7d72932a1282f
gpu-compute, hsail: call discardFetch() from the WF

because every taken branch causes fetch to be discarded, we move the call
to the WF to avoid to have to call it from each and every branch instruction
type.
src/arch/hsail/insts/branch.hh
src/gpu-compute/wavefront.cc