Parcourir la source

document that starpu_set_profiling_id needs to be called before starpu_init

Samuel Thibault il y a 12 ans
Parent
commit
ff4b3e5d81
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      doc/chapters/basic-api.texi

+ 2 - 1
doc/chapters/basic-api.texi

@@ -2280,7 +2280,8 @@ Return the current profiling status or a negative value in case there was an err
 @end deftypefun
 
 @deftypefun void starpu_set_profiling_id (int @var{new_id})
-This function sets the ID used for profiling trace filename
+This function sets the ID used for profiling trace filename. It needs to be
+called before starpu_init.
 @end deftypefun
 
 @deftp {Data Type} {struct starpu_task_profiling_info}