|
vecmem 1.22.0
|
Helper functor used for running a piece of code on a given device. More...
#include </home/runner/work/vecmem/vecmem/hip/src/utils/run_on_device.hpp>
Public Member Functions | |
| run_on_device (int device) | |
| Constructor, with the device that code should run on. | |
| template<typename EXECUTABLE > | |
| void | operator() (EXECUTABLE exe) const |
| Operator executing "something" on the specified device. | |
Helper functor used for running a piece of code on a given device.