Page MenuHomePhabricator

Port OpenCL Module to opensource MITK
Closed, ResolvedPublic

Description

Split the porting in at least two steps. First all necessary classes needs to be ported:

(1) BuildSystem settings -> FindOpenCL.cmake ( T13241 )

  • new name: MitkOcl, or should it be MitkOpenCL ( @Marco: what is the correct module naming convention )

    [ Enter new BUG (MITK-mbi): adapt the MBI Module ( rename -> MitkMBIOcl ) and its dependencies ]

(2) Framework classes

  • OclContextManager
  • OclRessourceManager + OclUtils ( T13245 )

    (3) Basic data + filter classes
  • OclImage
  • OclFilter, OclImageFilter, OclImageToImageFilter

    (4) Tests + Documentation check

    (5) Port one complete filter as example ( ?Gaussian, BinaryMorphology )
  • OclGaussianFilter, GaussianFilter.cl

Event Timeline

New remote branch pushed: bug-13572-OpenCL-Port-OpenSource

New remote branch pushed: bug-13572-OpenCL-OpenSource

[92ad60]: Merge branch 'bug-13572-OpenCL-OpenSource'

Merged commits:

2012-11-22 15:09:19 Jan Hering [dcbf27]
Improving OclUtils API

  • made function names more readable
  • enhanced API documentation

2012-11-22 14:29:26 Jan Hering [6a2c96]
Merge branch 'OpenCL-documentation' into bug-13572-OpenCL-OpenSource


2012-11-22 14:14:18 Thomas Kilgus [bf1174]
Various cosmetic changes including new base class for mitkOclImageFormats.


2012-11-22 13:35:49 Jan Hering [81b70a]
Added example path to global doxagen.conf


2012-11-20 17:13:47 Jan Hering [4b12e9]
Added basic module documentation

  • with an explained example

2012-11-21 18:23:33 Thomas Kilgus [84e8d7]
Various small cosmetic changes.


2012-11-19 19:05:35 Jan Hering [0e5e83]
Fixing BinaryThresholdFilter

  • switched to 'unsigned char' as output type
  • exception handling for exceptions from InitExec()

2012-11-19 18:57:44 Jan Hering [13f465]
Enhancing basic classes for filtering

  • enabling setting 3D NDRange
  • changed format for unsigned char to CL_UNSIGNED_INT8

2012-11-19 12:55:28 Jan Hering [f3b297]
Added BinaryThreshold filter

  • adapted path-to-shader setting,
  • added test for the new filter

2012-11-19 12:53:03 Jan Hering [2437a2]
Fixing service implementation

  • pure virtual + out-of-line destructor, which makes AUTOLOADING
  • unnecessary

2012-11-13 16:33:24 Jan Hering [eb6f0c]
Enhanced module testing

  • NEW mitkOclImageTest
  • added missing != 0 check to ResourceServiceTest

2012-11-14 18:41:30 Jan Hering [7872f6]
Added validity check to GetCommandQueue method


2012-11-14 18:40:24 Jan Hering [a731f6]
Added essential classes for image filtering

  • hiearchical structure like mitk filter classes

2012-11-13 16:32:55 Jan Hering [550299]
Added base data class mitk::OclImage


2012-11-13 16:30:11 Jan Hering [a4d55c]
Fixed RegistrationService releasing

  • provided own implementation of ::Unload()

2012-11-13 15:13:01 Jan Hering [739701]
Enabled Testing subdir in OpenCL Module

  • added test for OclResourceService

2012-11-13 14:55:26 Jan Hering [ac17c8]
Added custom module Activator

  • forcing AUTOLOAD option bundled with Mitk, i.e. if MITK_USE_OpenCL
  • specified and Mitk is loaded, the context service will be available

2012-11-13 14:52:35 Jan Hering [71d4fb]
Added class for handling image format support


2012-11-13 14:50:41 Jan Hering [5fcf08]
Providing an implementation for the OclResourceService

  • the files have suffices _Private.cpp and _p.h respectively to disable
  • doxygen documentation generation on them

2012-11-13 14:49:38 Jan Hering [30d1a9]
Declaring service interface for OclResourceService


2012-11-12 17:37:05 Jan Hering [31a044]
Added OpenCL Utilities

  • collection of helper methods ( source compiling, getting platform info
  • etc.)

2012-11-12 14:53:35 Jan Hering [fabcc5]
Enabling OpenCL Module in build system


2012-11-12 14:52:16 Jan Hering [3fbe43]
Added Find*.cmake function for OpenCL