- Scott Grauer-Gray [email protected]
- Will Killian [email protected]
- Robert Searles [email protected]
- John Cavazos [email protected]
This contains codes for Black-Scholes, Monte-Carlo, Bonds, and Repo financial applications which can be run on the CPU and GPU. All the codes are described in the following paper and any work that uses these codes should cite this paper:
"Accelerating Financial Applications on the GPU" which was presented at the Sixth Workshop on General Purpose Processing Using GPUs (GPGPU 6)
README-parameters.txt contains information on the parameters in each application.
Directions (tested for Linux-based systems w/ gcc/g++ compiler, NVIDIA GPU, and CAPS Compiler for HMPP/OpenACC):
For CUDA/OpenCL codes (CUDA available for each application, OpenCL available for Black-Scholes and Monte-Carlo):
- Set the PATH and LD_LIBRARY_PATH environment variables to point to the appropriate locations for CUDA/OpenCL.
- Navigate to CUDA/OpenCL folder in target application.
- Run Makefile (by using "make" command).
- Application executable should be create and can be run.
For HMPP/OpenACC Codes:
- Set the PATH and LD_LIBRARY_PATH environment variables to point to the appropriate locations for CUDA/OpenCL.
- Set the environment variables needed for the HMPP/OpenACC compilation environment.
- Navigate to HMPP/OpenACC folder in target application.
- Run Makefile (by using "make" command).
- Application executable should be create and can be run.
For CPU/OpenMP Codes (assuming using g++ compiler):
- Run Makefile (by using "make" command).
- Application executable should be create and can be run.