Skip to content

Commit

Permalink
started work on getXsecList implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
fythal committed Apr 14, 2016
1 parent 31f81da commit b8e6e74
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*.toc
*.snm
*.nav
*.vrb
Documentation/*/*.out

# Xcode project files
Expand Down
Binary file modified Documentation/FinalPresentation/Presentation.pdf
Binary file not shown.
17 changes: 15 additions & 2 deletions Documentation/FinalPresentation/Presentation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ \subsection{Easily Enable/Disable GPU Acceleration}
\begin{frame}
\frametitle{Accelerating Module on GPU}
\begin{itemize}
\item
\item
\end{itemize}
\end{frame}

Expand Down Expand Up @@ -264,25 +264,37 @@ \subsection{Impl. 2: Add New GPU-Accelerated Methods to Interface}
Add new methods to \texttt{G4ParticleHPVector} interface that are well-suited to parallelism\\~\\

\textbf{Pros:}
%\begin{block}{Pros:}
\begin{itemize}
\pro Only methods that run faster on the GPU are implemented
\pro Not forced to run methods that run slowly on GPU
\end{itemize}
%\end{block}
\textbf{Cons:}
%\begin{block}{Cons:}
\begin{itemize}
\con Will have to maintain two copies of the vector
\con More copying the vector to and from the GPU
\end{itemize}
%\end{block}
\end{frame}

\begin{frame}
\frametitle{Implementation -- \texttt{GetXSecList}}
\begin{itemize}
\item Fill an array of energies we want to get xSec values for
\item Send the array to the GPU to work on
\item Each thread work on its own query(s)
\end{itemize}
\end{frame}

\begin{frame}[fragile]
\frametitle{Implementation -- \texttt{GetXSecList}}
\begin{lstlisting}[language=C++,basicstyle=\ttfamily,keywordstyle=\color{red}]

\end{lstlisting}
\end{frame}

\subsubsection{Performance}
\begin{frame}
\frametitle{Performance Results Summary}
Expand Down Expand Up @@ -314,7 +326,8 @@ \subsection{Accuracy / Testing}
\end{itemize}
\item The system tests differ if the number of nentries is
greater than 500; if not however the results of the system
test conform.
test conform.
\end{itemize}
\end{frame}

\begin{frame}
Expand Down

0 comments on commit b8e6e74

Please sign in to comment.