Reply to comment

Давайте начнем с конца.
3) Как у XP устроен планировщик - не знаю. Но эффект с гранулярностью - есть.
2) В примерах CUDA есть использование таймера (cutCreateTimer), который в тулките свой, он хороший.
Ну или QueryPerformanceCounter (http://msdn.microsoft.com/en-us/library/ms644904%28VS.85%29.aspx) - у него просто разрешение - такт процессора.

1) Давайте я вам документацию не буду пересказывать. Возьмите Best Practices Guide, раздел 4.4, но один поток на блок - это ~3% от пиковой производительности (если все остальное идеально и не конфликтует)

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