Hello Tony Gutierrez,

I'd like you to do a code review. Please visit

    https://gem5-review.googlesource.com/c/public/gem5/+/29930

to review the following change.


Change subject: gpu-compute: Make headTailMap a std::unordered_map
......................................................................

gpu-compute: Make headTailMap a std::unordered_map

There is no reason that the headTailMap needs to be
sorted, so let's use a std::unordered_map.

Change-Id: I18641b893352c18ec86e3775c8947a05a6c6547d
---
M src/gpu-compute/compute_unit.hh
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/gpu-compute/compute_unit.hh b/src/gpu-compute/compute_unit.hh
index 187cbc9..110097e 100644
--- a/src/gpu-compute/compute_unit.hh
+++ b/src/gpu-compute/compute_unit.hh
@@ -981,7 +981,7 @@
     // hold the time of the arrival of the first cache block related to
     // a particular GPUDynInst. This is used to calculate the difference
     // between the first and last chace block arrival times.
-    std::map<GPUDynInstPtr, Tick> headTailMap;
+    std::unordered_map<GPUDynInstPtr, Tick> headTailMap;
 };

 #endif // __COMPUTE_UNIT_HH__

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/29930
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I18641b893352c18ec86e3775c8947a05a6c6547d
Gerrit-Change-Number: 29930
Gerrit-PatchSet: 1
Gerrit-Owner: Anthony Gutierrez <[email protected]>
Gerrit-Reviewer: Tony Gutierrez <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to