Thanks for this _mat_, but, why is this faster on CPU's than SuperPI? It's easy to get below 2s for 1M.
Was the old code obsolete after all?
Is it quicker because of OpenCL and the use of modern CPU instructions?