diff options
| author | Ahmed ElTantawy <[email protected]> | 2015-03-04 12:02:52 -0800 |
|---|---|---|
| committer | Ahmed ElTantawy <[email protected]> | 2015-03-04 12:02:52 -0800 |
| commit | 18e0b0614611edcb19ee0a3b315c7b45e50b5595 (patch) | |
| tree | 0afded3735b698e71fe37f39a43dc750083d32bc /src/abstract_hardware_model.h | |
| parent | 7cd0edfe0cb654280c30afef89a563867d9e67ed (diff) | |
initial support for CUDA 5.0, 5.5, 6.0 to get template from SDK running
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 936d208..ba4ea29 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -443,6 +443,7 @@ private: unsigned m_texcache_linesize; }; + class gpgpu_t { public: gpgpu_t( const gpgpu_functional_sim_config &config ); @@ -497,7 +498,7 @@ protected: class memory_space *m_global_mem; class memory_space *m_tex_mem; class memory_space *m_surf_mem; - + unsigned long long m_dev_malloc; std::map<std::string, const struct textureReference*> m_NameToTextureRef; @@ -506,18 +507,20 @@ protected: std::map<const struct textureReference*, const struct textureReferenceAttr*> m_TextureRefToAttribute; }; -struct gpgpu_ptx_sim_kernel_info +struct gpgpu_ptx_sim_info { // Holds properties of the kernel (Kernel's resource use). // These will be set to zero if a ptxinfo file is not present. int lmem; int smem; int cmem; + int gmem; int regs; unsigned ptx_version; unsigned sm_target; }; + struct gpgpu_ptx_sim_arg { gpgpu_ptx_sim_arg() { m_start=NULL; } gpgpu_ptx_sim_arg(const void *arg, size_t size, size_t offset) |
