Added function in sequence freeMemoryDestroyGPUResources to de-init
This commit is contained in:
parent
b636a80d06
commit
5fbb4ce6f6
4 changed files with 62 additions and 38 deletions
|
|
@ -106,6 +106,11 @@ class Sequence
|
|||
*/
|
||||
bool isInit();
|
||||
|
||||
/**
|
||||
* Destroys and frees the GPU resources which include the buffer and memory.
|
||||
*/
|
||||
void freeMemoryDestroyGPUResources();
|
||||
|
||||
/**
|
||||
* Record function for operation to be added to the GPU queue in batch. This
|
||||
* template requires classes to be derived from the OpBase class. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue