|
Celeritas 0.7.0-dev.161+develop.301cbc939
|
Platform and version-specific thrust setup. More...
#include <thrust/execution_policy.h>#include <thrust/mr/allocator.h>#include <thrust/version.h>#include "corecel/DeviceRuntimeApi.hh"#include "Device.hh"#include "Stream.hh"#include "ThreadId.hh"#include "detail/AsyncMemoryResource.device.hh"
Functions | |
| auto & | celeritas::thrust_execute () |
| Get the Thrust synchronous parallel policy. | |
| auto | celeritas::thrust_execute_on (StreamId stream_id) |
| Get a Thrust asynchronous parallel policy for the given stream. | |
Platform and version-specific thrust setup.
|
inline |
Get a Thrust asynchronous parallel policy for the given stream.
For older versions of thrust, this executes synchronously on the stream.