Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Replication scripts, measurement data, visualization scripts, and installation instructions for the paper "GPU-based Parallel Computation Support for Stan".

License

Notifications You must be signed in to change notification settings

bstatcomp/gpu-stan-paper-materials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpu-stan-paper-materials

Replication scripts, measurement data, visualization scripts, and installation instructions for the paper "GPU-based Parallel Computation Support for Stan".

The replication scripts are split in two parts: the C++ function-level measurement scripts for the Cholesky decomposition function and the end-to-end R scripts that run Stan models with generated input data.

Cholesky decomposition C++ measurement scripts

Link

Prerequisites to run:

  • C++ toolchain (make and a C++ compiler)
  • GPU driver with OpenCL support
  • A copy of the Stan Math library of version 3.1.1 or newer

These scripts run three time measurements on the C++ level for the Cholesky decomposition function:

  • function evaluation when the input is a matrix of doubles
  • function evaluation when the input is a matrix of stan::math::var
  • gradient evaluation

End-to-end tests for Stan models

Link

Prerequisites to run:

  • a R enviroment and a C++ toolchain
  • GPU driver with OpenCL support
  • cmdstanr R package

These scripts run three time measurements on the C++ level for the Cholesky decomposition function:

  • function evaluation when the input is a matrix of doubles
  • function evaluation when the input is a matrix of stan::math::var
  • gradient evaluation

About

Replication scripts, measurement data, visualization scripts, and installation instructions for the paper "GPU-based Parallel Computation Support for Stan".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published