Skip to content

Commit bd33f1e

Browse files
authored
Add explicit imports cpp (vortexgpgpu#131)
* add imports for array and unordered_map * add auto
1 parent e4fdc74 commit bd33f1e

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

runtime/opae/vortex.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <cmath>
2727
#include <sstream>
2828
#include <unordered_map>
29+
#include <array>
2930
#include <algorithm>
3031
#include <memory>
3132
#include <list>
@@ -854,4 +855,4 @@ extern int vx_mpm_query(vx_device_h hdevice, uint32_t addr, uint32_t core_id, ui
854855
*value = _value;
855856

856857
return 0;
857-
}
858+
}

runtime/rtlsim/vortex.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
#include <mem.h>
3030
#include <util.h>
3131
#include <processor.h>
32+
#include <unordered_map>
33+
#include <array>
3234

3335
using namespace vortex;
3436

@@ -568,4 +570,4 @@ extern int vx_mpm_query(vx_device_h hdevice, uint32_t addr, uint32_t core_id, ui
568570
*value = _value;
569571

570572
return 0;
571-
}
573+
}

runtime/simx/vortex.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#include <arch.h>
3333
#include <mem.h>
3434
#include <constants.h>
35+
#include <unordered_map>
36+
#include <array>
3537

3638
using namespace vortex;
3739

@@ -563,4 +565,4 @@ extern int vx_mpm_query(vx_device_h hdevice, uint32_t addr, uint32_t core_id, ui
563565
*value = _value;
564566

565567
return 0;
566-
}
568+
}

runtime/xrt/vortex.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <vector>
2323
#include <string>
2424
#include <unordered_map>
25+
#include <array>
2526

2627
#ifdef SCOPE
2728
#include "scope.h"
@@ -1155,4 +1156,4 @@ extern int vx_mpm_query(vx_device_h hdevice, uint32_t addr, uint32_t core_id, ui
11551156
*value = _value;
11561157

11571158
return 0;
1158-
}
1159+
}

0 commit comments

Comments
 (0)