Browse Source

Rename the STARPU_TASK_BLOCKED_ON_JOB status into STARPU_TASK_BLOCKED_ON_DATA

Cédric Augonnet 15 years ago
parent
commit
8d2b6c2760
3 changed files with 3 additions and 3 deletions
  1. 1 1
      include/starpu_task.h
  2. 1 1
      src/core/dependencies/data_concurrency.c
  3. 1 1
      tools/gdbinit

+ 1 - 1
include/starpu_task.h

@@ -42,7 +42,7 @@
 
 #define STARPU_TASK_BLOCKED_ON_TAG	5
 #define STARPU_TASK_BLOCKED_ON_TASK	6
-#define STARPU_TASK_BLOCKED_ON_JOB	7
+#define STARPU_TASK_BLOCKED_ON_DATA	7
 
 #ifdef __cplusplus
 extern "C" {

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

@@ -149,7 +149,7 @@ static unsigned _submit_job_enforce_data_deps(starpu_job_t j, unsigned start_buf
 	for (buf = start_buffer_index; buf < nbuffers; buf++)
 	{
                 if (attempt_to_submit_data_request_from_job(j, buf)) {
-                        j->task->status = STARPU_TASK_BLOCKED_ON_JOB;
+                        j->task->status = STARPU_TASK_BLOCKED_ON_DATA;
 			return 1;
                 }
 	}

+ 1 - 1
tools/gdbinit

@@ -40,7 +40,7 @@ define starpu-print-task
     set $status="STARPU_TASK_BLOCKED_ON_TASK"
   end
   if $task->status == 7
-    set $status="STARPU_TASK_BLOCKED_ON_JOB"
+    set $status="STARPU_TASK_BLOCKED_ON_DATA"
   end
 
   printf "StarPU Task (%p)\n", $task