Пример #1
0
static inline void
report_up (void)
{
    int maj, min;
    const int n = GET_STATE (numpes);
    const size_t h = GET_STATE (heapsize);

    if (shmemi_version (&maj, &min) == 0) {
        shmemi_trace (SHMEM_LOG_INIT,
                      "version %d.%d running on %d PE%s, using %zd bytes of symmetric heap",
                      maj, min, n, (n == 1) ? "" : "s", h);
    }
}
Пример #2
0
void
shmem_info_get_version (int *major, int *minor)
{
    (void) shmemi_version (major, minor);
}