Browse Source

preruntask is supposed to have a correct thread id, use 0 for tags, it shouldn't matter

Samuel Thibault 12 years ago
parent
commit
fed2de5a73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/dependencies/tags.c

+ 1 - 1
src/core/dependencies/tags.c

@@ -244,7 +244,7 @@ void _starpu_tag_set_ready(struct _starpu_tag *tag)
 #ifdef HAVE_AYUDAME_H
 	if (AYU_event)
 	{
-		intptr_t id = -1;
+		intptr_t id = 0;
 		AYU_event(AYU_PRERUNTASK, tag->id + AYUDAME_OFFSET, &id);
 		AYU_event(AYU_POSTRUNTASK, tag->id + AYUDAME_OFFSET, NULL);
 	}