Split the Allocator into HostAllocator and DeviceAllocator. Pull Request resolved: https://github.com/pytorch/pytorch/pull/144843 Approved by: https://github.com/albanD
open_registration_extension.cpp