GPU-accelerated optimal deterministic sampling