From: Arnaud Giersch Date: Wed, 12 Feb 2014 09:41:46 +0000 (+0100) Subject: Define command for "bw" as well. X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/GMRES_For_Journal.git/commitdiff_plain/f9d16b6234f59037675d69d7683d70117decb5e7 Define command for "bw" as well. --- diff --git a/GMRES_Journal.tex b/GMRES_Journal.tex index e743778..696ccf1 100644 --- a/GMRES_Journal.tex +++ b/GMRES_Journal.tex @@ -41,6 +41,7 @@ IUT Belfort-Montb\'eliard\\ \{\texttt{lilia.ziane\_khoja},~\texttt{raphael.couturier},~\texttt{arnaud.giersch},~\texttt{jacques.bahi}\}\texttt{@univ-fcomte.fr} } +\newcommand{\BW}{\mathit{bw}} \newcommand{\Iter}{\mathit{iter}} \newcommand{\Max}{\mathit{max}} \newcommand{\Offset}{\mathit{offset}} @@ -329,10 +330,10 @@ requires the vector elements of its neighboring nodes corresponding to the colum which its local sub-matrix has nonzero values. Consequently, each computing node manages a global vector composed of a local vector of size $\frac{n}{p}$ and a shared vector of size $S$: \begin{equation} - S = bw - \frac{n}{p}, + S = \BW - \frac{n}{p}, \label{eq:11} \end{equation} -where $\frac{n}{p}$ is the size of the local vector and $bw$ is the bandwidth of the local sparse +where $\frac{n}{p}$ is the size of the local vector and $\BW$ is the bandwidth of the local sparse sub-matrix which represents the number of columns between the minimum and the maximum column indices (see Figure~\ref{fig:01}). In order to improve memory accesses, we use the texture memory to cache elements of the global vector.