Skip to content

Commit

Permalink
Add information to README about CUDA support (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCarlberg authored May 17, 2019
1 parent 4a6c620 commit 2910a91
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ As a result, many teams with minimal computer vision knowledge successfully used
- [Network Tables](https://github.com/wpilibsuite/allwpilib/tree/master/ntcore/)
- [Robot Operating System (ROS)](http://www.ros.org/)
- HTTP
- CUDA acceleration
- OS Support:
- Windows
- OSX
Expand Down Expand Up @@ -56,6 +57,16 @@ On Windows:

If you don't have an internet connection you can build using the `--offline` flag if you have built GRIP once before.

## CUDA Support
To enable CUDA acceleration, CUDA 10.0 needs to be installed on your computer. CUDA 10.1 may work on
Linux systems, but Windows _must_ use 10.0.

When running or building from source, add the Gradle flag `-Pcuda` to enable CUDA acceleration (eg `./gradlew :ui:run -Pcuda`)

Note that CUDA acceleration is not available for all operations.

Code generation does not support CUDA - it is only used for operations running in GRIP.

## Contributing

See the guide on [setting up build tools](https://github.com/WPIRoboticsProjects/GRIP/wiki/Setting-up-build-tools) in the wiki.

0 comments on commit 2910a91

Please # to comment.