Reply to comment

Механизм есть, называется "записать в глобальную память".

И каких-то чудес тут ожидать не следует. У вас даже в одном kernel может быть блоков больше, чем влезает на GPU одновременно. Когда блок завершился - девать его shared mem некуда, кроме глобальной памяти. Нет никакой разницы, писать туда вручную (по завершении блока) или каким-то автоматом.

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