Skip to Content

О комментариях в программах

Свежий GPU Computing Toolkit 4.0 Release Candidate. Кусок кода примера (OpenCL RadixSort):

  1. //All three kernels run 512 threads per workgroup
  2. //Must be a power of two
  3. #define WORKGROUP_SIZE 256

P.S. Я, по возможности, стараюсь в своих программах комментариев не писать. По вышепоказанной причине. Опять же, FreeBSD kernel is very well documented.

Comments

Post new comment

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> <s> <i> <b> <blockquote>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options



.