Baseclass Header: X_default_base.h

To avoid having to modify the DefaultCPU and DefaultGPU header-files, and allow data to be shared between these classes, they are both virtually derived from DefaultBase. Whenever the programmer feels that it is necessary to declare additional datamembers (that are not suitable as parameters), this interface can be used to do so. Keep in mind though that this data will not be available on the GPU, unless copied manually. The example (Section 4) illustrates one such application.



Joren Heit 2013-12-17