Fix compilation errors for enabling Intel nextgen compiler (icx/icpx) (#35939)
Summary:
ICPX's aggressive inlining elude implicit instantiation of templates, cause linking error.
Signed-off-by: caozhong <zhong.z.cao@intel.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35939
Reviewed By: jianyuh
Differential Revision: D20887025
Pulled By: jspark1105
fbshipit-source-id: 0618634c63dd3145ef11196ca140e974bdddd940