Viewport "rendered" mode - CPU or GPU based?

The title says it all; When you set the 3D View to Rendered as its display method, is the performance primarily limited by the GPU or CPU? Or does it have a way to toggle which the preview is rendered with somewhere?

It’s uses whatever you have set your rendering device to for the .blend file