瀏覽代碼

doc: precise color representation of task color

Philippe SWARTVAGHER 5 年之前
父節點
當前提交
570190be91
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;