Merge pull request #4 from StreamComputing/asc

Asc
Merge pull request #5 from StreamComputing/asc

Added DEBUG_E_EL_SUM_PHASE_1 #ifdefs
f, fshift log to file after first kernel run

f and fshift arrays are written to file after the first kernel
execution.

For the OpenCL version. the results are also compared to the CUDA
results, if the corresponding files are found.

OpenCL: see
#define DEBUG_DUMP_F_OCL
#define DEBUG_DUMP_FSHIFT_OCL
Output files: ocl_f.txt and ocl_fshift.txt

CUDA: see
#define DEBUG_DUMP_F_CUDA
#define DEBUG_DUMP_FSHIFT_CUDA
Output files: cuda_f.txt and cuda_fshift.txt
Fixed nbst.fshift allocation and D2H copy

fshift is a field inside the cl_nb_staging_t data structure.
It is declared as float*, but actually each of its elements is a float3.
Adjusted the allocation and the D2H copy accordingly.
Needs clean-up.
Merge pull request #6 from StreamComputing/asc

Asc
Does not break vararg nor static qualifier spec

Changed kernel name generation to be without varargs and static
qualifiers.
Added a descriptive comment to change in NB_FUNCTION_NAME
Changed the description comment of NB_FUNCTION_NAME
Merge pull request #46 from sharpneli/asc

Resolves #26