diff options
| author | Jonathan <[email protected]> | 2018-05-18 11:52:31 -0700 |
|---|---|---|
| committer | Jonathan <[email protected]> | 2018-05-25 09:11:55 -0700 |
| commit | 6a39e5c5964f23a97dafaa6a66f2a9d9c37bbfdd (patch) | |
| tree | 1d79b0f3aab32edb0da20c2fbe2de482cc756d3b /src/abstract_hardware_model.h | |
| parent | 3b4c3898771ac5e774bca9445a5a4a81670b7b17 (diff) | |
implemented unbind, currently only affects cudaArray map
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 412c0a8..3ef450e 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -544,6 +544,7 @@ public: class memory_space *get_surf_memory() { return m_surf_mem; } void gpgpu_ptx_sim_bindTextureToArray(const struct textureReference* texref, const struct cudaArray* array); + void gpgpu_ptx_sim_unbindTexture(const struct textureReference* texref); void gpgpu_ptx_sim_bindNameToTexture(const char* name, const struct textureReference* texref, int dim, int readmode, int ext); const char* gpgpu_ptx_sim_findNamefromTexture(const struct textureReference* texref); |
