include math.h in filler and solver -- seems to be needed for pow and
sqrt in CPU_ONLY build.
Add "#ifndef CPU_ONLY" guards around GPU device code so that CPU_ONLY
compilation works.
Save warnings when building device files.
Merge pull request #803 from jeffdonahue/device-abstraction

Tweak device abstraction so CPU_ONLY build works