|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
TUM ice score: hop-bound six-rings and cage affiliation. More...
#include <vector>Go to the source code of this file.
Classes | |
| struct | tum::CageCounts |
| struct | tum::SpecializedCaps |
| Initial buffer sizes of the hop-bound path. More... | |
Namespaces | |
| namespace | tum |
Functions | |
| bool | tum::preferOffload () |
| True when SEAMS_OFFLOAD is set and is not "0". | |
| CageCounts | tum::hostCageCounts (const std::vector< std::vector< int > > &nList) |
| Host Franzblau six-rings plus cageAffiliation on an index nList (leading self entry, as neighbourListByIndex produces). | |
| CageCounts | tum::specializedCageCounts (const std::vector< std::vector< int > > &nList) |
| Hop-bound six-ring enumerator plus affiliation predicates. | |
| CageCounts | tum::specializedCageCounts (const std::vector< std::vector< int > > &nList, const SpecializedCaps &caps) |
| As above, starting from the given buffer sizes. | |
| CageCounts | tum::cageCounts (const std::vector< std::vector< int > > &nList) |
| preferOffload() selects specializedCageCounts, otherwise hostCageCounts. | |
TUM ice score: hop-bound six-rings and cage affiliation.
SEAMS_OFFLOAD=0 (or unset when no device) uses host Franzblau ringNetwork plus cageAffiliation. Any other SEAMS_OFFLOAD value selects the hop-bound six-ring enumerator and the same affiliation predicates, on the OpenMP target device when the build provides one and omp_get_num_devices() > 0, otherwise on the host. The seeded CLI path uses that enumerator on the union four-nearest graph. CHILL+ stays on the host. Steinhardt offload is unchanged.
The enumerator writes into fixed buffers: a row of ring ids per atom, a ring table and a basal-pair table. Every counter is incremented before the bound check, so a pass reports the size it needed. A pass that overflowed any buffer is discarded and rerun with that buffer grown to the reported size. A row longer than tum::device::kRowCap does not fit the kernels' local arrays, and that graph is evaluated by hostCageCounts instead.
Definition in file tum_offload.hpp.