![]() |
Ginkgo Generated from branch based on main. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
This is a deleter that uses an executor's free
method to deallocate the data.
More...
#include <ginkgo/core/base/executor.hpp>
Public Types | |
using | pointer = T* |
Public Member Functions | |
executor_deleter (std::shared_ptr< const Executor > exec) | |
Creates a new deleter. | |
void | operator() (pointer ptr) const |
Deletes the object. | |
This is a deleter that uses an executor's free
method to deallocate the data.
T | the type of object being deleted |
|
inlineexplicit |
Creates a new deleter.
exec | the executor used to free the data |
|
inline |
Deletes the object.
ptr | pointer to the object being deleted |