Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.08 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.08 KB

MITK CUDA Project Template

This project is based on the MITK Project Template. It includes a complete CMake-based set-up to get started with CUDA and MITK. The module shows how to use GTest for unit testing cuda modules, mock cuda runtime api calls and wrap cuda device pointers into c++ smartpointers.

Features

  • CudaExample:
    • Cuda based MinMaxScaler image-to-image filter
    • How to wrap cuda device pointers into STL smartpointer
    • Example Unit tests
    • Example Mock tests
  • MockCudaRuntime
    • Example how to mock cuda_runtime_api calls
  • Example plugin
    • GUI for the cuda example image filter

How it works

Prequisites are a working Qt installation and CUDA.

  1. Clone MITK and checkout the latest release tag or at least the stable master branch
  2. Click on "Use this template", or clone/fork the MITK-ProjectTemplate, checking out the matching tag or branch
  3. Configure the MITK superbuild and set the CMake cache variable MITK_EXTENSION_DIRS to your working copy of the project template
  4. Generate and build the MITK superbuild

The project template is virtually integrated right into the MITK superbuild and MITK build as if it would be part of MITK. You can extend MITK with your own modules, plugins, command-line apps, and external projects without touching the MITK source code resp. repository.

Supported platforms and other requirements

See the MITK documentation.

License

Copyright (c) Eric Heim
All rights reserved.

The MITK CUDA Project Template is based on MITK as well as the MITK-ProjectTemplate and as such available as free open-source software under a 3-clause BSD license.