summaryrefslogtreecommitdiff
path: root/src/gpgpusim_entrypoint.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-05-30 13:10:51 -0400
committerMahmoud <[email protected]>2019-05-30 13:10:51 -0400
commit21016be645e4206417dbd153f3694eface8b7e66 (patch)
treeaf2eaf6a3b4f2923d74f370e42c3cbb011691673 /src/gpgpusim_entrypoint.h
parent8fb484e4120a08e896f53424e9f4f46710966970 (diff)
adding the gpu_context strut
Diffstat (limited to 'src/gpgpusim_entrypoint.h')
-rw-r--r--src/gpgpusim_entrypoint.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gpgpusim_entrypoint.h b/src/gpgpusim_entrypoint.h
index bf03f03..eacb2d7 100644
--- a/src/gpgpusim_entrypoint.h
+++ b/src/gpgpusim_entrypoint.h
@@ -29,11 +29,20 @@
#define GPGPUSIM_ENTRYPOINT_H_INCLUDED
#include "abstract_hardware_model.h"
-
+#include <pthread.h>
+#include <semaphore.h>
#include <time.h>
+
extern time_t g_simulation_starttime;
+struct GPU_ctx {
+
+ struct gpgpu_ptx_sim_arg *grid_params;
+
+
+
+};
class gpgpu_sim *gpgpu_ptx_sim_init_perf();
void start_sim_thread(int api);