Reply to comment

This discussion is closed: you can't post new comments.

Что то припоминается мне по поводу того что например если мемкопи стоит сразу после кернела то она выполняется только после того как завершатся вычисления.
Но вообще на беглый такой взгляд - да, асинхронно.
Вот кстати есть какой то глобальный ключ:

Programmers can globally disable asynchronous execution for all CUDA
CUDA_LAUNCH_BLOCKING
applications running on a system by setting the
environment variable to 1. This feature is provided for debugging purposes only and
should never be used as a way to make production software run reliably.

п.с. синхронизация начинается на следующем вызове
видимо сначала неправильно понял. Да, точно, о чём разговор то :)

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <table> <td> <tr> <th>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

Copyright © 2008-2011 Alex Tutubalin