Nowadays it's becoming fashionable to use GPU's for purposes other than pure graphics. Learn a sneaky trick that leverages the GPU's horsepower to efficiently compute an axis-aligned bounding box.
The aforementioned loop is embarrassingly parallelizable and therefore well-suited to the GPU. Using a general-purpose computation language like NVIDIA's CUDA technology would make this easy, but it ...