Skip to content

Commit

Permalink
use "basic_wait" as the default scheduler (#249)
Browse files Browse the repository at this point in the history
* use "basic_wait" as the default scheduler

- the "default" scheduler refers to the Argobots default, which causes
  idle execution streams to spin looking for new work units
- the "basic_wait" scheduler is the one that pairs with the "fifo_wait"
  pool type that we are using by default and will suspend until work is
  available

* update reference json to reflect scheduler type
  • Loading branch information
carns authored Feb 13, 2023
1 parent 842a32f commit 0c2fa49
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions src/margo-abt-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ bool __margo_abt_sched_init_from_json(const json_object_t* jsched,
margo_abt_sched_t* s,
ABT_sched* abt_sched)
{
s->type
= strdup(json_object_object_get_string_or(jsched, "type", "default"));
s->type = strdup(
json_object_object_get_string_or(jsched, "type", "basic_wait"));

ABT_sched_predef sched_predef = ABT_SCHED_DEFAULT;
if (s->type) {
Expand Down
Loading

0 comments on commit 0c2fa49

Please sign in to comment.