From 00a6346c91f6e09eb9c0f4cf61a7d72932a1282f Mon Sep 17 00:00:00 2001 From: Tony Gutierrez Date: Wed, 26 Oct 2016 22:47:19 -0400 Subject: hsail, gpu-compute: remove doGm/SmReturn add completeAcc we are removing doGmReturn from the GM pipe, and adding completeAcc() implementations for the HSAIL mem ops. the behavior in doGmReturn is dependent on HSAIL and HSAIL mem ops, however the completion phase of memory ops in machine ISA can be very different, even amongst individual machine ISA mem ops. so we remove this functionality from the pipeline and allow it to be implemented by the individual instructions. --- src/gpu-compute/global_memory_pipeline.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gpu-compute/global_memory_pipeline.hh') diff --git a/src/gpu-compute/global_memory_pipeline.hh b/src/gpu-compute/global_memory_pipeline.hh index ed49f6f6b..368a15079 100644 --- a/src/gpu-compute/global_memory_pipeline.hh +++ b/src/gpu-compute/global_memory_pipeline.hh @@ -62,8 +62,6 @@ class GlobalMemPipeline void init(ComputeUnit *cu); void exec(); - template void doGmReturn(GPUDynInstPtr m); - std::queue &getGMReqFIFO() { return gmIssuedRequests; } std::queue &getGMStRespFIFO() { return gmReturnedStores; } std::queue &getGMLdRespFIFO() { return gmReturnedLoads; } @@ -89,6 +87,12 @@ class GlobalMemPipeline const std::string &name() const { return _name; } void regStats(); + void + incLoadVRFBankConflictCycles(int num_cycles) + { + loadVrfBankConflictCycles += num_cycles; + } + private: ComputeUnit *computeUnit; std::string _name; -- cgit v1.2.3