Hybrid CPU/GPU version of CERN math library