This demo can perform Gaussian Blur, sobel or Prewitt filtering using the regular cpu, the CUDA or the OpenCL based convolution algorithms. It is also possible to specify a custom filtering matrix. Only separable matrices are supported at this time. When the compute mode is switched from the CPU mode to the CUDA or OpenCL mode the Open Inventor module is loaded using dynamic module loading mechanism and the new algorithms interface is automaticaly used. The SoAlgorithms class brings the mechanism for this automatic usage of the loaded API.
SoCudaApi, SoOpenCLApi, SoAlgorithms