class gpr::linalg::EnvironmentGpuExecutor¶
Owns a device context; numerical inputs and outputs belong to each call. The implementation joins device work before returning to MPI callers.
#include <gpr/linalg/EnvironmentGpuExecutor.h>
class EnvironmentGpuExecutor {
public:
// structs
struct Impl;
// construction
EnvironmentGpuExecutor(const std::string& library);
EnvironmentGpuExecutor(const EnvironmentGpuExecutor&);
~EnvironmentGpuExecutor();
// methods
EnvironmentGpuExecutor& operator=(const EnvironmentGpuExecutor&);
void assemble(const gpr::detail::EnvironmentPairBatch& batch, std::span<double> output) const;
};