Debugging kernel.
Appears as some values are unititialised or accessed by accident.
Local cjs can get some crazy values.

Added environment option OCL_FORCE_CPU for debugging because CodeXL is
useless refusing to step in the kernel due to the presence of atomics.
Added the top level kernel generation (force + pruning) and fixed compilation issues
Update for the PRUNE and PRUNE+ENERGY kernels