Loading...
Searching...
No Matches
EnvironmentKokkosAssembly.cpp File Reference
#include "EnvironmentKokkosAssembly.h"
#include <Kokkos_Core.hpp>
#include <algorithm>
#include <cstddef>
#include <stdexcept>
#include <string>
#include <utility>
#include "../linalg/KokkosDeviceOps.h"

Go to the source code of this file.

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::kokkos_environment

Typedefs

using gpr::kokkos_environment::ExecutionSpace = kd::exec_space
using gpr::kokkos_environment::MemorySpace = kd::mem_space
template<class T>
using gpr::kokkos_environment::DeviceArray = Kokkos::View<T*, MemorySpace>
using gpr::kokkos_environment::Index = Kokkos::IndexType<std::size_t>

Functions

DeviceEnvironments gpr::kokkos_environment::upload (const gpr::detail::EnvironmentBatchView &source)
 Copy the environments of source to execution memory.
std::size_t gpr::kokkos_environment::pairsPerChunk (const DeviceEnvironments &left_environments, const DeviceEnvironments &right_environments, int channel_count, std::size_t scratch_bytes)
Eigen::VectorXd gpr::kokkos_environment::assemble (const DeviceEnvironments &left_environments, const DeviceEnvironments &right_environments, const gpr::detail::EnvironmentPairBatch &batch, std::size_t scratch_bytes)