gpu: fix bugs with MemFence, Flat Instrs and Resource utilization
authorJohn Kalamatianos <john.kalamatianos@amd.com>
Thu, 18 Feb 2016 15:42:03 +0000 (10:42 -0500)
committerJohn Kalamatianos <john.kalamatianos@amd.com>
Thu, 18 Feb 2016 15:42:03 +0000 (10:42 -0500)
commita28a234069a0c38bb75ba051ef82e7b4400f133a
treefc4db3c35cf44a798357e444f757a7661be2ae9d
parent9a0f1be21fe5fc36d379387134498a76aaf88031
gpu: fix bugs with MemFence, Flat Instrs and Resource utilization

Both Memory Fence is now flagged as Global Memory only to avoid resource
oversubscribing.
Flat instructions now check for Shared Memory resource busy to avoid
oversubscribing resources.
All WaitClass resources now use cycles (not ticks) to register the number
of pipe stages between Scoreboard and Execute to be consistent with
instruction scheduling logic which always used clock cycles.
src/gpu-compute/code_enums.hh
src/gpu-compute/compute_unit.cc
src/gpu-compute/wavefront.cc