summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_fetch.cc
diff options
context:
space:
mode:
authorAhmad Alawneh <[email protected]>2023-07-06 01:18:20 -0400
committerGitHub <[email protected]>2023-07-06 01:18:20 -0400
commita42b72214b92b6a97f16c180ad09631cbe50da33 (patch)
tree61bba4462fde2ba21e00a166a952edd1087b9ca9 /src/gpgpu-sim/mem_fetch.cc
parent58beccb510bb892de56b466ac764f24297affebd (diff)
parent1ce9febc61ab0e50c01ceea424cbf3e12a149366 (diff)
Merge pull request #59 from LAhmos/all_warn
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.cc')
-rw-r--r--src/gpgpu-sim/mem_fetch.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpgpu-sim/mem_fetch.cc b/src/gpgpu-sim/mem_fetch.cc
index 456d891..0d86046 100644
--- a/src/gpgpu-sim/mem_fetch.cc
+++ b/src/gpgpu-sim/mem_fetch.cc
@@ -84,10 +84,10 @@ mem_fetch::~mem_fetch() { m_status = MEM_FETCH_DELETED; }
#undef MF_TUP_END
void mem_fetch::print(FILE *fp, bool print_inst) const {
- if (this == NULL) {
- fprintf(fp, " <NULL mem_fetch pointer>\n");
- return;
- }
+ // if (this == NULL) { // doenst make sense!
+ // fprintf(fp, " <NULL mem_fetch pointer>\n");
+ // return;
+ // }
fprintf(fp, " mf: uid=%6u, sid%02u:w%02u, part=%u, ", m_request_uid, m_sid,
m_wid, m_raw_addr.chip);
m_access.print(fp);