Browse Source

doc: precise color representation of task color

Philippe SWARTVAGHER 5 years ago
parent
commit
570190be91
1 changed files with 3 additions and 1 deletions
  1. 3 1
      include/starpu_task.h

+ 3 - 1
include/starpu_task.h

@@ -538,7 +538,9 @@ struct starpu_codelet
 
 	/**
 	   Optional color of the codelet. This can be useful for
-	   debugging purposes.
+	   debugging purposes. Value 0 acts like if this field wasn't specified.
+	   Color representation is hex triplet (for example: 0xff0000 is red,
+	   0x0000ff is blue, 0xffa500 is orange, ...).
 	*/
 	unsigned color;