![]() |
Ginkgo
Generated from tags/v1.0.0^0 branch based on master. Ginkgo version 1.0.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. More... | |
void | operator() (pointer ptr) const |
Deletes the object. More... | |
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 |