Skip to content

Commit

Permalink
Update readme with GPU instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
theComputeKid committed Dec 30, 2021
1 parent 17ad5c5 commit a4b037c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Examples are provided in the +examples folder. To run them, you must be in the p
>> examples.ex6
>> examples.ex7

Note on GPU support: Either download the package of mex files and place in the +utils folder, or build it using the script provided in the +utils folder. If you want to build it yourself, this is done by implementing a pentadiagonal solver using cusparse and mex. The mex file currently uses C++17, which needs a newer version of MATLAB than R2021b. So mexcuda can not be used and a local install of CUDA >= 11.2 must be provided. To build, a $MATLABROOT environment variable must be available, and for windows, the MSVC build environment must be initialised.

Variable naming conventions are kept similar to those used in "Multilevel Methods in Lubrication".

Things to do:
Expand Down

0 comments on commit a4b037c

Please sign in to comment.