Explorar o código

Document that using cudaThreadSynchronize() instead of streams will affect
performance.

Cédric Augonnet %!s(int64=15) %!d(string=hai) anos
pai
achega
eda488ace3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      doc/starpu.texi

+ 2 - 0
doc/starpu.texi

@@ -3192,6 +3192,8 @@ function is only provided for convenience so that programmers can easily use
 asynchronous operations within codelets without having to create a stream by
 hand. Note that the application is not forced to use the stream provided by
 @code{starpu_cuda_get_local_stream} and may also create its own streams.
+Synchronizing with @code{cudaThreadSynchronize()} is allowed, but will reduce
+the likelihood of having all transfers overlapped.
 
 @item @emph{Prototype}:
 @code{cudaStream_t *starpu_cuda_get_local_stream(void);}