pytorch/binaries
Scott Wolchok 22c6dafd33 [PyTorch] Use plain old function pointer for RecordFunctionCallback (reapply) (#49408)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49408

Nearly every non-test callsite doesn't need to capture any variables anyway, and this saves 48 bytes per callback.
ghstack-source-id: 118665808

Test Plan:
Wait for GitHub CI since we had C++14-specific issues with
this one in previous PR https://github.com/pytorch/pytorch/pull/48629

Reviewed By: malfet

Differential Revision: D25563207

fbshipit-source-id: 6a2831205917d465f8248ca37429ba2428d5626d
2020-12-15 19:16:01 -08:00
..
bench_gen
at_launch_benchmark.cc
benchmark_args.h
benchmark_helper.cc Reorganize and refine the Windows.h import in C++ files (#48009) 2020-11-20 14:21:09 -08:00
benchmark_helper.h
caffe2_benchmark.cc
CMakeLists.txt Add test binary to compare torch model outputs (#47933) 2020-12-03 15:29:56 -08:00
compare_models_torch.cc Add test binary to compare torch model outputs (#47933) 2020-12-03 15:29:56 -08:00
convert_and_benchmark.cc
convert_caffe_image_db.cc
convert_db.cc
convert_encoded_to_raw_leveldb.cc
convert_image_to_tensor.cc
core_overhead_benchmark.cc
core_overhead_benchmark_gpu.cc
db_throughput.cc
dump_operator_names.cc
inspect_gpu.cc
intra_inter_benchmark.cc
lite_interpreter_model_load.cc
make_cifar_db.cc
make_image_db.cc
make_mnist_db.cc
optimize_for_mobile.cc Update default ouput extension in optimize_for_mobile.cc (#45598) 2020-10-15 15:34:34 -07:00
parallel_info.cc
predictor_verifier.cc
print_core_object_sizes_gpu.cc
print_registered_core_operators.cc
record_function_benchmark.cc [PyTorch] Use plain old function pointer for RecordFunctionCallback (reapply) (#49408) 2020-12-15 19:16:01 -08:00
run_plan.cc
run_plan_mpi.cc
speed_benchmark.cc
speed_benchmark_torch.cc Force a sync on non-CPU tensors for the benchmark to reflect the timing accurately. (#48856) 2020-12-05 10:47:44 -08:00
split_db.cc
tsv_2_proto.cc
tutorial_blob.cc
zmq_feeder.cc