bzr branch
http://darksoft.org/webbzr/articles/toma
34
by Suren A. Chilingaryan
Fix cross-references and some latex complaints |
1 |
\begin{algorithm}[htb] |
32
by Suren A. Chilingaryan
Fix algorithms and separate them into the files as well |
2 |
\DontPrintSemicolon
|
3 |
\caption{\label{alg:cache64} The caching stage of \algorithmname~\ref{alg:alurec} optimized for architectures with 64-bit shared memory} |
|
4 |
\ForTo{i}{0}{s_i}{ |
|
5 |
$h \eq 2 \mul (i \mul s_t + m_d) $ \; |
|
6 |
$d_1 \eq $ \KwTex{$h_m + h + \fconst{0.5}$, $p + \fconst{0.5}$} \; |
|
7 |
$d_2 \eq $ \KwTex{$h_m + h + \fconst{1.5}$, $p + \fconst{0.5}$} \; |
|
8 |
$\cast{float2}{\shmem{\vfloat{d}}[m_p][h]} = (float2)\vlist{d_1,d_2}$ \; |
|
9 |
}
|
|
10 |
\end{algorithm} |