Skip to content

Commit 2910a91

Browse files
authored
Add information to README about CUDA support (#948)
1 parent 4a6c620 commit 2910a91

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ As a result, many teams with minimal computer vision knowledge successfully used
2525
- [Network Tables](https://github.com/wpilibsuite/allwpilib/tree/master/ntcore/)
2626
- [Robot Operating System (ROS)](http://www.ros.org/)
2727
- HTTP
28+
- CUDA acceleration
2829
- OS Support:
2930
- Windows
3031
- OSX
@@ -56,6 +57,16 @@ On Windows:
5657

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

60+
## CUDA Support
61+
To enable CUDA acceleration, CUDA 10.0 needs to be installed on your computer. CUDA 10.1 may work on
62+
Linux systems, but Windows _must_ use 10.0.
63+
64+
When running or building from source, add the Gradle flag `-Pcuda` to enable CUDA acceleration (eg `./gradlew :ui:run -Pcuda`)
65+
66+
Note that CUDA acceleration is not available for all operations.
67+
68+
Code generation does not support CUDA - it is only used for operations running in GRIP.
69+
5970
## Contributing
6071

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

0 commit comments

Comments
 (0)