Back to Projects List
Slicer Extensions with CUDA
Key Investigators
- Greg Sharp (MGH)
- Adam Rankin (Robarts)
- JC Fillion-Robin (Kitware, Inc.)
Project Description
Provide an easy path for distributing extensions that use CUDA.
Objective
- What work needs done to get CUDA installed on build machine?
- How can we test the resulting packages?
Approach and Plan
- Create sample CUDA extension
- Create simple CUDA extension “Slicer CUDA Probe”
- Perform manual build, upload, and test
- https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/BuildTestPackageDistributeExtensions
- https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_ExtensionsIndex
- Set up VM that matches factory, but with CUDA installed
- Create VM, install dev tools to match factory
- https://www.slicer.org/wiki/Documentation/Nightly/Developers/Factory
- Set up factory build of slicer
- Create extension index
- https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Contribute_Extension_Description_File
- Set up dashboard-driven compile
- https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/DashboardSetup
- Do I need a separate extension server?
- How do CUDA extensions get displayed in extension manager?
- Options for distribution
- Option A - End user must install CUDA SDK of same version
- Option B - Extension must statically link CUDA libraries
- Option C - Extension bundles shared libraries
Progress
- Engineering plan created
- Sample extension created
- https://github.com/gregsharp/Slicer-CUDAProbe
- Manual upload of extension
Illustrations