diff options
| author | Jin Wang <[email protected]> | 2016-06-30 08:48:40 -0400 |
|---|---|---|
| committer | Jin Wang <[email protected]> | 2016-07-05 09:16:53 -0400 |
| commit | 38f811ab4d094e56b2065e1c8cb39327ad9f157b (patch) | |
| tree | f3ebb545f4994ff8690823ed44ce82f27b255dc8 /src/abstract_hardware_model.h | |
| parent | cf507ddb207337bc7a67ded7c4438f0cb0bed26f (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.h | 1 |
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: |
