Added a flag is_cpu to the AOTInductor runtime (#109300)
Summary:
added a flag is_cpu that can be specified by the user to
indicate whether the AOTInductor runtime is for CPU. It's
false by default.
Test Plan: ci
Reviewed By: hl475, aakhundov
Differential Revision: D49253826
Pull Request resolved: https://github.com/pytorch/pytorch/pull/109300
Approved by: https://github.com/aakhundov