working gpu/cpu support