Abstract
We present a domain specific language embedded in Haskell for specifying stochastic processes, called SPL;. It is designed with the goal of matching the notation used in mathematical finance, where the price of a financial contract is specified using stochastic processes and distributions. SPL; is declarative in the sense that it is agnostic of the choice of discretization and of the computational model. We provide an implementation of SPL; that performs Monte Carlo simulation using GPGPU, and we present data indicating that this gives a 100x speedup compared to hand-written sequential C, and that the speedup scales linearly with the number of available cores.
Originalsprog | Engelsk |
---|---|
Titel | Proceedings of the 1st ACM SIGPLAN Workshop on Functional High-Performance Computing |
Antal sider | 9 |
Forlag | Association for Computing Machinery |
Publikationsdato | 2012 |
Sider | 93-101 |
ISBN (Trykt) | 978-1-4503-1577-7 |
DOI | |
Status | Udgivet - 2012 |
Begivenhed | 1st ACM SIGPLAN Workshop on Functional High-Performance Computing - København, Danmark Varighed: 15 sep. 2012 → 15 sep. 2012 Konferencens nummer: 1 |
Konference
Konference | 1st ACM SIGPLAN Workshop on Functional High-Performance Computing |
---|---|
Nummer | 1 |
Land/Område | Danmark |
By | København |
Periode | 15/09/2012 → 15/09/2012 |
Emneord
- code generation, embedded domain specific language, gpgpu, haskell, monte-carlo simulation, opencl, stochastic processes