aboutsummaryrefslogtreecommitdiff
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-18 11:52:31 -0700
commit9f6bfadf5c0b07d66b002e966940f9620f8b5623 (patch)
tree29bf79a9debf50fd4cb67f55828e76b1515e069c /src/abstract_hardware_model.h
parentc8a6dfa9bb8bcec0458a58f0b702cd7b739ac1f1 (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);