summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorJin Wang <[email protected]>2016-06-30 08:48:40 -0400
committerJin Wang <[email protected]>2016-07-05 09:16:53 -0400
commit38f811ab4d094e56b2065e1c8cb39327ad9f157b (patch)
treef3ebb545f4994ff8690823ed44ce82f27b255dc8 /src/abstract_hardware_model.h
parentcf507ddb207337bc7a67ded7c4438f0cb0bed26f (diff)
ADD: delete streams created by cta when deleting kernel
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 a0bf80d..3a268ad 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -282,6 +282,7 @@ public:
CUstream_st * create_stream_cta(dim3 ctaid);
CUstream_st * get_default_stream_cta(dim3 ctaid);
bool cta_has_stream(dim3 ctaid, CUstream_st* stream);
+ void destroy_cta_streams();
void print_parent_info();
private: