Reply to comment

Мне не представляется возможным здесь избавится от ветвления за счет вычислений ибо чтение идет из глобальной памяти уже определенных величин.
Я вот на схемке зарисовал что я хочу прочитать блоком потоков)) :

  1. -111111111-
  2. 10000000001
  3. 10000000001
  4. 10000000001
  5. 10000000001
  6. 10000000001
  7. -111111111-

Где "0" - это данные которые читает эта строчка sTimecc[threadX][threadY]=t[(y)*nz + (z)]; "1" - это то что мне надо еще прочитать. "-" - неиспользуемые данные в данном блоке

ПС надеюсь стало яснее )))

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

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Copyright © 2008-2009 Alex Tutubalin