inline: basic function inlining
inline: check inlined functions are on the same core device