summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorAmruth <[email protected]>2018-03-27 14:12:05 -0700
committerAmruth <[email protected]>2018-03-27 14:12:05 -0700
commit5e8b10d9a0ea518dcb6c3c88b0a9cfd143363bcd (patch)
treeaa49c8cd925d9325d530d08e68d0ee08b2f36b8d /src/abstract_hardware_model.h
parent26b9853cc1f6a3b17de0e319b40f28a5703ad6bf (diff)
support for pinned memories - temporary fix
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index aaa4b00..67b36c7 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -182,6 +182,9 @@ void increment_x_then_y_then_z( dim3 &i, const dim3 &bound);
class stream_manager;
struct CUstream_st;
extern stream_manager * g_stream_manager;
+//support for pinned memories added
+extern std::map<void *,void **> pinned_memory;
+extern std::map<void *, size_t> pinned_memory_size;
class kernel_info_t {
public: