diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-06 01:57:40 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-06-06 01:57:40 -0400 |
| commit | 570ce0a3d6e049ec3ee42329fbf25019fd4eb2e5 (patch) | |
| tree | 8f64c2648dc9a0363cc79a809924007aeeb2d5bb /libcuda/gpgpu_context.h | |
| parent | bd5bbc6b1d56436dbcc0cfd84e96c2d514ab4ccc (diff) | |
Move 3 more var
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/gpgpu_context.h')
| -rw-r--r-- | libcuda/gpgpu_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h index 576ec67..0543ff8 100644 --- a/libcuda/gpgpu_context.h +++ b/libcuda/gpgpu_context.h @@ -3,11 +3,13 @@ #include <list> #include <map> #include <set> +#include <string> #include "cuda_api_object.h" class cuobjdumpSection; class cuobjdumpELFSection; class cuobjdumpPTXSection; +class symbol_table; class gpgpu_context { public: @@ -16,6 +18,9 @@ class gpgpu_context { } // global list std::list<cuobjdumpSection*> cuobjdumpSectionList; + std::map<int, bool>fatbin_registered; + std::map<int, std::string> fatbinmap; + std::map<std::string, symbol_table*> name_symtab; //maps sm version number to set of filenames std::map<unsigned, std::set<std::string> > version_filename; cuda_runtime_api* api; @@ -29,5 +34,6 @@ class gpgpu_context { cuobjdumpELFSection* findELFSection(const std::string identifier); cuobjdumpPTXSection* findPTXSection(const std::string identifier); void extract_ptx_files_using_cuobjdump(CUctx_st *context); + void cuobjdumpRegisterFatBinary(unsigned int handle, const char* filename, CUctx_st *context); }; #endif /* __gpgpu_context_h__ */ |
