Double 64 bit precision not supported by OpenCL implementation on my GPU. Hence, the program crashes. Will have to look into it in the future, on some other machine.