fixing fake_units to compile with nvcc