Add energy reduction for cpu
Remove static and device qualifiers
In CPU debug, remove the use of shared memory in cj as well as the CPU specific barriers.
These barriers were wrong and crashed the kernel occassionally as the loop indexes they
are called in are not the same for all threads.
Merge branch 'asc' into dk

Merge Teemu's fix on variadic macros

Conflicts:
	src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh
Merge branch 'asc' into dk
Merge branch 'asc' into dk
Merge branch 'asc' into dk
Merge pull request #48 from sharpneli/asc

Asc
reqd_work_group_size set based on CL_SIZE, removed printf
Fixed AMD string, AMD chosen before NVIDIA
Merge branch 'asc' into dk-dev

Conflicts:
	src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_nvidia.clh
	src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh
Remove barriers , a forgotten unroll, commented code, plist_params unused argument
Check setKernelArg error
Remove debug kernel compilation by default
Add environment option for now to turn on OpenCL compiler options:
OCL_NOOPT (cl-opt-disable), OCL_FASTMATH (cl-fast-math), OCL_DEBUG (-g on AMD or Intel)
Fix trailing spaces
remove plist_params from ocl_structures preparation as well
Merge pull request #49 from dkarkoulis/dk-dev

Dk dev
Added DEBUG_RUN_STEP to OCL/CUDA dump files names,

... added asserts for creating/launching kernel
Removed barriers

These barriers are not needed. They were not used by the CUDA
implementation.
Fixed prunning for AMD

1. Made warp_any buffer volatile

Having several threads inside a work group writing to the same
local/global memory location is not defined by the OpenCL specification.
However, in CUDA it is defined and having several threads inside a warp
writing the same value to the same memory location is safe.
For AMD, it should generate a bank conflict, resulting in serializing
the write operations. In practice, the kernel does not produce the
correct results possibly because of the compiler.
Added enum for OpenCL vendor, get_vendor_id function

1. Added ocl_vendor_id_t type
2. Added get_vendor_id function
Removed old comments
Hide warning messages in release build