vistalab / vistasoft

VISTASOFT is the main software repository of the VISTA lab at Stanford University.
http://vistalab.stanford.edu
148 stars 142 forks source link

GPU-accelerated gridfit #277

Closed tommysprague closed 6 years ago

tommysprague commented 6 years ago

At present, GPU acceleration is only built for one-gaussian, nonlinear models (as in Mackey et al, 2017 and Kay et al, 2013).

To use, a Nvidia GPU is required, and CUDA binaries must be correctly installed. Terminal should be able to run nvidia-smi, and MATLAB should be able to run gg = gpuDevice(1);.

Also, gridfitgpu toolbox (https://github.com/tommysprague/gridfitgpu) is required to run GPU-ified linear regression.

This update is mostly tested with Inplane data, but should work equivalently with Gray/Volume data.

wandell commented 6 years ago

Just a note - that apparently one group is working on speeding up the calculation a different way. Cooperating with Kendrick, it appears. From BioRxiv. Don't know much about it.

Convex Optimized Population Receptive Field (CO-pRF) Mapping D Slater, L Melie-Garcia, S Adaszewski, K Kay, A Lutti… - bioRxiv, 2017 - biorxiv.org