I did some minor changes mostly in opencl/cuda formats.
I also added mem_calloc(size) to memory.c/h, not a big deal but helps
clean tables for candidates with just one line of code.