The GPU version compiles but gives different results. But not -Inf.