diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-06 12:53:34 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-06-06 12:53:34 -0400 |
| commit | 7e286ec0ffc963d307551caced7f4a52241dced4 (patch) | |
| tree | 617853b865e51fff052795b61374e74860d69691 /libcuda/gpgpu_context.h | |
| parent | bc8d1e10507f043c916ee051dc9a687adc6d9b4b (diff) | |
Move pinned_memory etc
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/gpgpu_context.h')
| -rw-r--r-- | libcuda/gpgpu_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h index f29e2e0..6878d5c 100644 --- a/libcuda/gpgpu_context.h +++ b/libcuda/gpgpu_context.h @@ -28,6 +28,9 @@ class gpgpu_context { std::map<unsigned long long, size_t> g_mallocPtr_Size; //maps sm version number to set of filenames std::map<unsigned, std::set<std::string> > version_filename; + std::map<void *,void **> pinned_memory; //support for pinned memories added + std::map<void *, size_t> pinned_memory_size; + // objects pointers for each file cuda_runtime_api* api; // member function list void cuobjdumpInit(); |
