This is a deleter that uses an executor's free
method to deallocate the data.
More...
#include <ginkgo/core/base/executor.hpp>
template<typename T>
class gko::executor_deleter< T >
This is a deleter that uses an executor's free
method to deallocate the data.
- Template Parameters
-
T | the type of object being deleted |
◆ executor_deleter()
Creates a new deleter.
- Parameters
-
exec | the executor used to free the data |
◆ operator()()
Deletes the object.
- Parameters
-
ptr | pointer to the object being deleted |
The documentation for this class was generated from the following file: