pytorch/c10
Han Zhu 5ef50ef2d8 [caffe2] Remove inline keyword of function CUDACachingAllocator::format_size (#100734)
Summary: `CUDACachingAllocator::format_size` is used not only in CUDACachingAllocator.cpp but also in CUDAMallocAsyncAllocator.cpp. This caused a breakage when the compiler inlined the function and the linker couldn't find it when resolving symbols for CUDAMallocAsyncAllocator.cpp.

Differential Revision: D45612790

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100734
Approved by: https://github.com/interwq, https://github.com/kit1980
2023-05-09 01:03:39 +00:00
..
benchmark [PyTorch] add intrusive_ptr exclusive ownership benchmark 2022-06-10 19:26:28 +00:00
core [S337714] Back out "[PyTorch] Don't do extra numel() check in TensorImpl::data() (#98090)" (#100893) 2023-05-08 21:56:44 +00:00
cuda [caffe2] Remove inline keyword of function CUDACachingAllocator::format_size (#100734) 2023-05-09 01:03:39 +00:00
hip Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
macros run buildifier on unified build files (#98141) 2023-04-04 00:37:19 +00:00
mobile Fix header-filter for clang-tidy c10 and apply some fixes to c10 and … (#91178) 2022-12-27 07:34:12 +00:00
test remove unused tuple_cat utility (#100731) 2023-05-06 12:48:44 +00:00
util remove unused tuple_cat utility (#100731) 2023-05-06 12:48:44 +00:00
BUCK.oss remove no-op C10_DISABLE_NUMA preprocessor flag (#98243) 2023-04-06 20:38:10 +00:00
BUILD.bazel remove //c10:headers (#98420) 2023-04-05 19:33:10 +00:00
build.bzl run buildifier on unified build files (#98141) 2023-04-04 00:37:19 +00:00
CMakeLists.txt Some CMake and CUDA cleanup given recent update to C++17 (#90599) 2022-12-30 11:19:26 +00:00
ovrsource_defs.bzl remove no-op C10_DISABLE_NUMA preprocessor flag (#98243) 2023-04-06 20:38:10 +00:00