summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-05-18 11:52:31 -0700
committerJonathan <[email protected]>2018-05-25 09:11:55 -0700
commit6a39e5c5964f23a97dafaa6a66f2a9d9c37bbfdd (patch)
tree1d79b0f3aab32edb0da20c2fbe2de482cc756d3b /src/abstract_hardware_model.h
parent3b4c3898771ac5e774bca9445a5a4a81670b7b17 (diff)
implemented unbind, currently only affects cudaArray map
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h1
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);