mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Move at::{Refcounted,}MapAllocator to c10 (#109881)
`libshm.so` depends on the torch library exclusively for `at::RefcountedMapAllocator`, so it makes sense to move it to c10 along with the other memory allocators. This means `libshm.so` only depends on `c10` and we don't need to relink `libshm.so` for every ATen change. Pull Request resolved: https://github.com/pytorch/pytorch/pull/109881 Approved by: https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
3704bf4ee8
commit
0341deb1c7
@ -1001,7 +1001,6 @@ aten_cpu_source_non_codegen_list = [
|
||||
"aten/src/ATen/FunctionalTensorWrapper.cpp",
|
||||
"aten/src/ATen/FunctionalizeFallbackKernel.cpp",
|
||||
"aten/src/ATen/MemoryOverlap.cpp",
|
||||
"aten/src/ATen/MapAllocator.cpp",
|
||||
"aten/src/ATen/NamedTensorUtils.cpp",
|
||||
"aten/src/ATen/NestedTensorImpl.cpp",
|
||||
"aten/src/ATen/ParallelCommon.cpp",
|
||||
|
Reference in New Issue
Block a user