pytorch/c10/xpu
Yu, Guangye e6b68359d7 Fix xpu memory stats error (#135818)
# Motivation
fix https://github.com/pytorch/pytorch/issues/135726
After merging two free blocks, I made a stupid mistake of ignoring the correct size to decrease the active memory size, which should be the original block size instead of the merged block size.

# Additional Context
Add a UT to guard this scenario.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/135818
Approved by: https://github.com/EikanWang
2024-09-13 02:41:21 +00:00
..
impl Build SYCL kernels for ATen XPU ops on Native Windows (take 2) (#127390) 2024-06-06 01:41:06 +00:00
test [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
CMakeLists.txt Add xpu_cmake_macros.h to xpu build (#132847) 2024-08-08 08:06:49 +00:00
XPUCachingAllocator.cpp Fix xpu memory stats error (#135818) 2024-09-13 02:41:21 +00:00
XPUCachingAllocator.h [Intel GPU] Add XPU memory-related APIs (#129919) 2024-09-07 11:15:17 +00:00
XPUDeviceProp.h Add new prop to _XpuDevicePropertie for triton gemm optimization (#131738) 2024-08-18 08:32:30 +00:00
XPUException.h [1/2] Intel GPU Runtime Upstreaming for Stream (#117611) 2024-02-08 09:07:23 +00:00
XPUFunctions.cpp Add new prop to _XpuDevicePropertie for triton gemm optimization (#131738) 2024-08-18 08:32:30 +00:00
XPUFunctions.h [DeviceIndex][7/N] Use DeviceIndex in XPU (#120576) 2024-02-29 05:54:23 +00:00
XPUMacros.h Build SYCL kernels for ATen XPU ops on Native Windows (take 2) (#127390) 2024-06-06 01:41:06 +00:00
XPUStream.cpp Support gpu trace on XPU (#121795) 2024-03-30 13:07:53 +00:00
XPUStream.h Support gpu trace on XPU (#121795) 2024-03-30 13:07:53 +00:00