diff options
| author | Amruth <[email protected]> | 2018-03-27 14:12:05 -0700 |
|---|---|---|
| committer | Amruth <[email protected]> | 2018-03-27 14:12:05 -0700 |
| commit | 5e8b10d9a0ea518dcb6c3c88b0a9cfd143363bcd (patch) | |
| tree | aa49c8cd925d9325d530d08e68d0ee08b2f36b8d /src/abstract_hardware_model.h | |
| parent | 26b9853cc1f6a3b17de0e319b40f28a5703ad6bf (diff) | |
support for pinned memories - temporary fix
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 3 |
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: |
