User Implementations

When all files have been generated, it is up to the programmer to implement the actual algorithm. Several files may be modified to do so:

X.h Specify the device-order.
X_default_base.h Declare additional members, used by
  the DefaultCPU- and DefaultGPU-classes.
X_default_cpu_impl.cc Implement the CPU-routines.
X_default_cpu_impl.ih CPU implementation header.
X_default_cpu_impl.cu Implement the GPU-routines.
X_default_cpu_impl.cc GPU implementation header.
X_kernels.h Declare the GPU-kernels.
X_kernels.cu Implement the GPU-kernels.
X_main.cc Optionally implement main().



Subsections

Joren Heit 2013-12-17