Loading...
Searching...
No Matches
gpr::kokkos_environment::DeviceEnvironments Class Reference

Environment data of one configuration set, in execution memory. More...

#include <gpr/covariance_functions/EnvironmentKokkosAssembly.h>

Public Member Functions

 DeviceEnvironments ()=default
 DeviceEnvironments (std::shared_ptr< const detail::EnvironmentStorage > storage)
bool empty () const noexcept
const detail::EnvironmentStorage * storage () const noexcept

Detailed Description

Environment data of one configuration set, in execution memory.

Definition at line 42 of file EnvironmentKokkosAssembly.h.

Constructor & Destructor Documentation

◆ DeviceEnvironments() [1/2]

gpr::kokkos_environment::DeviceEnvironments::DeviceEnvironments ( )
default

◆ DeviceEnvironments() [2/2]

gpr::kokkos_environment::DeviceEnvironments::DeviceEnvironments ( std::shared_ptr< const detail::EnvironmentStorage > storage)
inlineexplicit

Definition at line 45 of file EnvironmentKokkosAssembly.h.

47 : storage_(std::move(storage))
48 {
49 }
const detail::EnvironmentStorage * storage() const noexcept

Member Function Documentation

◆ empty()

bool gpr::kokkos_environment::DeviceEnvironments::empty ( ) const
inlinenodiscardnoexcept

Definition at line 51 of file EnvironmentKokkosAssembly.h.

52 {
53 return !storage_;
54 }

◆ storage()

const detail::EnvironmentStorage * gpr::kokkos_environment::DeviceEnvironments::storage ( ) const
inlinenodiscardnoexcept

Definition at line 55 of file EnvironmentKokkosAssembly.h.

56 {
57 return storage_.get();
58 }

The documentation for this class was generated from the following file: