pytorch/caffe2/utils
Digant Desai d3a3604581 [pthreadpool] Don't recreate threadpool if the counts are same (#90478)
Summary: Don't do anything if the incoming count and current threadpool size are same

Test Plan: CI

Reviewed By: salilsdesai

Differential Revision: D41628132

Pull Request resolved: https://github.com/pytorch/pytorch/pull/90478
Approved by: https://github.com/salilsdesai
2022-12-10 03:17:08 +00:00
..
hip Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
math Check all CUDA API calls for errors in caffe2/ (#81816) 2022-10-28 00:41:06 +00:00
threadpool [pthreadpool] Don't recreate threadpool if the counts are same (#90478) 2022-12-10 03:17:08 +00:00
bench_utils.cc
bench_utils.h
cast_test.cc
cast.h
cblas.h
CMakeLists.txt Remove caffe2 mobile (#84338) 2022-09-08 01:49:55 +00:00
conversions.h
cpu_neon.h
cpuid_test.cc
cpuid.cc
cpuid.h
cub_namespace.cuh
eigen_utils.h Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
fatal_signal_asan_no_sig_test.cc Relax the thread count assertion, that is modify EXPECT_EQ -> EXPECT_GE (#79806) 2022-06-21 00:05:48 +00:00
filler.h Explicitly convert to double for comparison (#79964) 2022-06-21 22:46:52 +00:00
fixed_divisor_test.cc
fixed_divisor.h
GpuAtomics.cuh
GpuBitonicSort.cuh
GpuDefs.cuh
GpuScanUtils.cuh
knob_patcher.cc Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
knob_patcher.h
knobs_test.cc
knobs.cc
knobs.h
map_utils.h
math_cpu.cc Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
math_gpu_test.cc
math_gpu.cu Check all CUDA API calls for errors in caffe2/ (#81816) 2022-10-28 00:41:06 +00:00
math_test.cc Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
math-detail.h Replace all CHECK_ and DCHECK_ with TORCH_* macros (#82032) 2022-07-26 01:20:44 +00:00
math.h
murmur_hash3.cc
murmur_hash3.h
proto_convert.cc
proto_convert.h
proto_utils_test.cc
proto_utils.cc Use a reference in GetSingleArgument (#71007) 2022-01-07 20:18:56 -08:00
proto_utils.h use irange for loops (#69533) 2021-12-07 16:53:27 -08:00
proto_wrap.cc
proto_wrap.h
signal_handler.cc
signal_handler.h
simple_queue_test.cc
simple_queue.h
smart_tensor_printer_test.cc
smart_tensor_printer.cc
smart_tensor_printer.h
string_utils.cc
string_utils.h
zmq_helper.h