Add workaround to replace double from GPU code to run it on more graphic
cards (not complete stable)