コード例 #1
0
ファイル: comm-gasnet-locales.c プロジェクト: jcazzie/chapel
int64_t chpl_comm_default_num_locales(void) {
#if defined(GASNET_CONDUIT_PORTALS)
  return chpl_numNodes;
#else
  return chpl_specify_locales_error();
#endif
}
コード例 #2
0
ファイル: comm-qthreads.c プロジェクト: Agobin/chapel
int64_t chpl_comm_default_num_locales(void) {
    qthread_debug(CHAPEL_CALLS, "[%d] begin\n", chpl_localeID);
    qthread_debug(CHAPEL_CALLS, "[%d] end\n", chpl_localeID);

    return chpl_specify_locales_error();
}
コード例 #3
0
ファイル: comm-ugni-locales.c プロジェクト: DawidvC/chapel
int64_t chpl_comm_default_num_locales(void) {
  return chpl_specify_locales_error();
}