GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
PublicLayout.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
#pragma once
4
5
// Byte sizes and member offsets of the public C++ classes, as compiled into
6
// libgpridge. A translation unit that includes the same headers without the
7
// build's -D flags must report the same numbers: the layout does not depend
8
// on GPR_LINALG_KOKKOS, USE_RGMIN, or the other configuration macros.
9
10
#include <cstddef>
11
12
namespace
gpr
{
13
14
struct
PublicLayoutBytes
{
15
std::size_t
gaussian_process
= 0;
16
std::size_t
gaussian_process_inverse_diagonal
= 0;
17
std::size_t
backend_context
= 0;
18
std::size_t
backend_context_kokkos_workspace
= 0;
19
std::size_t
gpneb_config
= 0;
20
std::size_t
gpneb_config_rgmin_method
= 0;
21
std::size_t
dimer
= 0;
22
std::size_t
dimer_rgmin_translation
= 0;
23
std::size_t
atomic_dimer
= 0;
24
std::size_t
atomic_dimer_rgmin_translation
= 0;
25
};
26
27
// Compiled into libgpridge, so the numbers are the library's layout.
28
PublicLayoutBytes
libraryPublicLayout
();
29
30
// Defined by the layout consumer test, which includes these headers without
31
// the build's -D flags. Not part of libgpridge.
32
PublicLayoutBytes
consumerPublicLayout
();
33
34
}
// namespace gpr
dimer
Definition
Dimer.cpp:27
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr::libraryPublicLayout
PublicLayoutBytes libraryPublicLayout()
Definition
PublicLayout.cpp:15
gpr::consumerPublicLayout
PublicLayoutBytes consumerPublicLayout()
gpr::PublicLayoutBytes
Definition
PublicLayout.h:14
gpr::PublicLayoutBytes::dimer_rgmin_translation
std::size_t dimer_rgmin_translation
Definition
PublicLayout.h:22
gpr::PublicLayoutBytes::gpneb_config
std::size_t gpneb_config
Definition
PublicLayout.h:19
gpr::PublicLayoutBytes::gaussian_process_inverse_diagonal
std::size_t gaussian_process_inverse_diagonal
Definition
PublicLayout.h:16
gpr::PublicLayoutBytes::atomic_dimer
std::size_t atomic_dimer
Definition
PublicLayout.h:23
gpr::PublicLayoutBytes::backend_context_kokkos_workspace
std::size_t backend_context_kokkos_workspace
Definition
PublicLayout.h:18
gpr::PublicLayoutBytes::backend_context
std::size_t backend_context
Definition
PublicLayout.h:17
gpr::PublicLayoutBytes::gaussian_process
std::size_t gaussian_process
Definition
PublicLayout.h:15
gpr::PublicLayoutBytes::atomic_dimer_rgmin_translation
std::size_t atomic_dimer_rgmin_translation
Definition
PublicLayout.h:24
gpr::PublicLayoutBytes::gpneb_config_rgmin_method
std::size_t gpneb_config_rgmin_method
Definition
PublicLayout.h:20
gpr
PublicLayout.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf