소스 검색

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

Cédric Augonnet 14 년 전
부모
커밋
eda488ace3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);}