Cycles UI: Refactor cpu checks into a use_cpu() function.
Cycles UI: Refactor cpu checks into a use_cpu() function.

tangent-opensource/coreBlackbird,pyrochlore/cycles,tangent-opensource/coreBlackbird,pyrochlore/cycles,pyrochlore/cycles,tangent-opensource/coreBlackbird