Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
CppSignature.h | D | 04-Jul-2025 | 2.4 KiB | 66 | 40 | |
CppSignature_test.cpp | D | 04-Jul-2025 | 1.4 KiB | 39 | 30 | |
DispatchKeyExtractor.cpp | D | 04-Jul-2025 | 2.8 KiB | 75 | 54 | |
DispatchKeyExtractor.h | D | 04-Jul-2025 | 9.4 KiB | 243 | 156 | |
Dispatcher.cpp | D | 04-Jul-2025 | 20.1 KiB | 560 | 434 | |
Dispatcher.h | D | 04-Jul-2025 | 32.2 KiB | 794 | 441 | |
ObservedOperators.cpp | D | 04-Jul-2025 | 764 | 30 | 21 | |
ObservedOperators.h | D | 04-Jul-2025 | 329 | 18 | 11 | |
OperatorEntry.cpp | D | 04-Jul-2025 | 29.5 KiB | 634 | 438 | |
OperatorEntry.h | D | 04-Jul-2025 | 12.6 KiB | 314 | 168 | |
OperatorOptions.h | D | 04-Jul-2025 | 923 | 31 | 24 | |
README.md | D | 04-Jul-2025 | 538 | 10 | 8 | |
RegistrationHandleRAII.h | D | 04-Jul-2025 | 858 | 37 | 27 | |
backend_fallback_test.cpp | D | 04-Jul-2025 | 4.1 KiB | 127 | 86 |
README.md
1This folder contains the c10 dispatcher. This dispatcher is a single point 2through which we are planning to route all kernel calls. 3Existing dispatch mechanisms from legacy PyTorch or caffe2 are planned to 4be replaced. 5 6This folder contains the following files: 7- Dispatcher.h: Main facade interface. Code using the dispatcher should only use this. 8- DispatchTable.h: Implementation of the actual dispatch mechanism. Hash table with kernels, lookup, ... 9- KernelFunction.h: The core interface (i.e. function pointer) for calling a kernel 10