Loading...
Searching...
No Matches
tum_offload.hpp File Reference

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

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::cageCounts (const std::vector< std::vector< int > > &nList)
 preferOffload() selects specializedCageCounts, otherwise hostCageCounts.

Detailed Description

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.

Definition in file tum_offload.hpp.