\hypertarget{ddss__tile_8c}{}\section{src/ddss\+\_\+tile.c File Reference}
\label{ddss__tile_8c}\index{src/ddss\+\_\+tile.\+c@{src/ddss\+\_\+tile.\+c}}


L\+A\+Ss-\/\+D\+D\+Ss ddss\+\_\+tile routines.  


{\ttfamily \#include \char`\"{}../include/lass.\+h\char`\"{}}\\*
Include dependency graph for ddss\+\_\+tile.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{ddss__tile_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{ddss__tile_8c_a931442adba78807015ff9a076fb2ae49}{ddss\+\_\+tile\+\_\+size} (int M, int MT)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
L\+A\+Ss-\/\+D\+D\+Ss ddss\+\_\+tile routines. 

L\+A\+Ss-\/\+D\+D\+Ss is a software package provided by\+: Barcelona Supercomputing Center -\/ Centro Nacional de Supercomputacion

\begin{DoxyAuthor}{Author}
Pedro Valero-\/\+Lara \href{mailto:pedro.valero@bsc.es}{\tt pedro.\+valero@bsc.\+es} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2017-\/05-\/10   
\end{DoxyDate}


\subsection{Function Documentation}
\index{ddss\+\_\+tile.\+c@{ddss\+\_\+tile.\+c}!ddss\+\_\+tile\+\_\+size@{ddss\+\_\+tile\+\_\+size}}
\index{ddss\+\_\+tile\+\_\+size@{ddss\+\_\+tile\+\_\+size}!ddss\+\_\+tile.\+c@{ddss\+\_\+tile.\+c}}
\subsubsection[{\texorpdfstring{ddss\+\_\+tile\+\_\+size(int M, int M\+T)}{ddss_tile_size(int M, int MT)}}]{\setlength{\rightskip}{0pt plus 5cm}int ddss\+\_\+tile\+\_\+size (
\begin{DoxyParamCaption}
\item[{int}]{M, }
\item[{int}]{MT}
\end{DoxyParamCaption}
)}\hypertarget{ddss__tile_8c_a931442adba78807015ff9a076fb2ae49}{}\label{ddss__tile_8c_a931442adba78807015ff9a076fb2ae49}
tile\+\_\+size\+: Computes the size of the tile passed as parameter.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em M} & int. M specifies the size ( rows of columns ) of the matrix.\\
\hline
\mbox{\tt in}  & {\em MT} & int. MT specifies the id of the tile.\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em int} & size of the tile passed as parameter.\\
\hline
\end{DoxyRetVals}
\begin{DoxySeeAlso}{See also}
ddss\+\_\+gather\+\_\+tile 
\end{DoxySeeAlso}


Definition at line 52 of file ddss\+\_\+tile.\+c.



Referenced by ddss\+\_\+dgather\+\_\+tile(), ddss\+\_\+dscatter\+\_\+tile(), kdgemm(), kdnpgesv(), kdnpgetrf(), kdposv(), kdpotrf(), kdsymm(), kdsyr2k(), kdsyrk(), kdtpgesv(), kdtpgetrf(), kdtrmm(), and kdtrsm().


\begin{DoxyCode}
53 \{
54 
55     \textcolor{keywordflow}{if} ( M - ( MT * TILE\_SIZE ) > TILE\_SIZE )
56         \textcolor{keywordflow}{return} TILE\_SIZE;
57     \textcolor{keywordflow}{else}
58         \textcolor{keywordflow}{return} M - ( MT * TILE\_SIZE );
59 
60 \}
\end{DoxyCode}
