/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | tensor_new.cpp | 538 c10::DispatchKey dispatch_key, in check_base_legacy_new() 582 c10::DispatchKey dispatch_key, in check_legacy_ctor_device() 602 c10::DispatchKey dispatch_key, in legacy_sparse_tensor_generic_ctor_new() 694 c10::DispatchKey dispatch_key) { in typeIdWithDefault() 706 c10::DispatchKey dispatch_key, in legacy_tensor_generic_ctor_new() 825 c10::DispatchKey dispatch_key, in legacy_tensor_ctor() 835 c10::DispatchKey dispatch_key, in legacy_tensor_new() 887 c10::DispatchKey dispatch_key, in sparse_compressed_tensor_ctor_worker() 1064 c10::DispatchKey dispatch_key, in sparse_compressed_tensor_ctor() 1077 c10::DispatchKey dispatch_key, in sparse_csr_tensor_ctor() [all …]
|
H A D | python_dispatch.cpp | 117 c10::DispatchKey dispatch_key, in PythonKernelHolder() 649 [](c10::DispatchKey dispatch_key, bool desired_state) { in initDispatchBindings() 654 [](c10::DispatchKey dispatch_key) { in initDispatchBindings() 659 [](c10::DispatchKey dispatch_key, bool desired_state) { in initDispatchBindings() 664 [](c10::DispatchKey dispatch_key) { in initDispatchBindings() 854 [](const char* dispatch_key = "") { in initDispatchBindings() 868 [](const char* dispatch_key) -> std::optional<c10::DispatchKey> { in initDispatchBindings() 878 [](const char* dispatch_key = "") { in initDispatchBindings()
|
H A D | nested.cpp | 18 c10::DispatchKey dispatch_key) { in typeIdWithDefault() 27 c10::DispatchKey dispatch_key, in nested_tensor_ctor()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/op_registration/ |
H A D | op_registration.h | 72 Options&& kernel(DispatchKey dispatch_key) && { in kernel() 161 …_if_t<guts::is_functor<KernelFunctor>::value, Options&&> kernel(DispatchKey dispatch_key, Construc… in kernel() 241 …able_if_t<guts::is_function_type<FuncType>::value, Options&&> kernel(DispatchKey dispatch_key) && { in kernel() 285 …if_t<guts::is_function_type<FuncType>::value, Options&&> kernel(DispatchKey dispatch_key, FuncType… in kernel() 334 Options&&> kernel(DispatchKey dispatch_key, Lambda&& functor) && { in kernel() 402 …Options&& kernel(std::optional<DispatchKey> dispatch_key, KernelFunction&& func, std::optional<imp… in kernel() 428 std::optional<DispatchKey> dispatch_key; member
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/dispatch/ |
H A D | OperatorEntry.cpp | 106 std::optional<DispatchKey> dispatch_key, in registerKernel() 186 std::optional<DispatchKey> dispatch_key, in registerKernel() 206 void OperatorEntry::updateFallback(const c10::Dispatcher& dispatcher, DispatchKey dispatch_key) { in registerKernel() 390 …atorEntry::updateDispatchTableEntry_(const c10::Dispatcher& dispatcher, DispatchKey dispatch_key) { in registerKernel() 404 … OperatorEntry::updateDispatchTable_(const c10::Dispatcher& dispatcher, DispatchKey dispatch_key) { in registerKernel() 516 static std::string post_process_dispatch_key_str(std::string dispatch_key) { in registerKernel()
|
H A D | Dispatcher.cpp | 341 std::optional<DispatchKey> dispatch_key, in registerImpl() 373 …_(const OperatorHandle& op, const OperatorName& op_name, std::optional<DispatchKey> dispatch_key, … in deregisterImpl_()
|
H A D | OperatorEntry.h | 285 std::optional<DispatchKey> dispatch_key; member
|
/aosp_15_r20/external/pytorch/torch/ |
H A D | library.py | 75 def __init__(self, ns, kind, dispatch_key=""): argument 208 def _impl_with_aoti_compile(self, op_name, dispatch_key=""): argument 255 def impl(self, op_name, fn, dispatch_key="", *, with_keyset=False): argument 333 def fallback(self, fn, dispatch_key="", *, with_keyset=False): argument 591 def _(lib: Library, name, dispatch_key=""): argument
|
H A D | _ops.py | 284 def fallthrough(self, dispatch_key): argument 289 def dispatch(self, /, dispatch_key, *args, **kwargs): argument
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | library.cpp | 185 auto dispatch_key = f.dispatch_key_.has_value() ? f.dispatch_key_ : dispatch_key_; in _def() local 238 auto dispatch_key = f.dispatch_key_.has_value() ? f.dispatch_key_ : dispatch_key_; in _impl() local 270 auto dispatch_key = f.dispatch_key_.has_value() ? f.dispatch_key_ : dispatch_key_; in _fallback() local
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/boxing/impl/ |
H A D | kernel_stackbased_test.cpp | 56 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 60 void expectCallsIncrementUnboxed(DispatchKey dispatch_key) { in expectCallsIncrementUnboxed() 70 void expectCallsDecrement(DispatchKey dispatch_key) { in expectCallsDecrement()
|
H A D | kernel_function_test.cpp | 36 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 47 void expectCallsDecrement(DispatchKey dispatch_key) { in expectCallsDecrement() 655 void expectCallsConcatUnboxed(DispatchKey dispatch_key) { in expectCallsConcatUnboxed()
|
H A D | kernel_lambda_test.cpp | 23 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 34 void expectCallsDecrement(DispatchKey dispatch_key) { in expectCallsDecrement() 566 void expectCallsConcatUnboxed(DispatchKey dispatch_key) { in expectCallsConcatUnboxed()
|
H A D | test_helpers.h | 64 inline void expectDoesntFindKernel(const char* op_name, c10::DispatchKey dispatch_key) { in expectDoesntFindKernel()
|
H A D | make_boxed_from_unboxed_functor_test.cpp | 43 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 785 void expectCallsConcatUnboxed(DispatchKey dispatch_key) { in expectCallsConcatUnboxed()
|
H A D | kernel_function_legacy_test.cpp | 43 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 898 void expectCallsConcatUnboxed(DispatchKey dispatch_key) { in expectCallsConcatUnboxed()
|
H A D | kernel_lambda_legacy_test.cpp | 33 void expectCallsIncrement(DispatchKey dispatch_key) { in expectCallsIncrement() 836 void expectCallsConcatUnboxed(DispatchKey dispatch_key) { in expectCallsConcatUnboxed()
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | TensorOptions.h | 726 inline Layout dispatchKeyToLayout(DispatchKey dispatch_key) { in dispatchKeyToLayout() 744 inline c10::DeviceType dispatchKeyToDeviceType(DispatchKey dispatch_key) { in dispatchKeyToDeviceType() 771 inline TensorOptions dispatchKeyToTensorOptions(DispatchKey dispatch_key) { in dispatchKeyToTensorOptions()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/ |
H A D | autocast_mode.cpp | 10 at::DispatchKey dispatch_key = get_autocast_dispatch_key_from_device_type(device_type); in is_autocast_enabled() local 15 at::DispatchKey dispatch_key = get_autocast_dispatch_key_from_device_type(device_type); in set_autocast_enabled() local
|
/aosp_15_r20/external/pytorch/aten/src/ATen/test/ |
H A D | lazy_tensor_test.cpp | 5 void LazyTensorTest(c10::DispatchKey dispatch_key, at::DeviceType device_type) { in LazyTensorTest()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | python_legacy_variable.cpp | 68 auto dispatch_key = torch::tensors::get_default_dispatch_key(); in THPVariable_pynew() local
|
/aosp_15_r20/external/pytorch/torch/csrc/lazy/ts_backend/ |
H A D | ts_eager_fallback.cpp | 101 c10::DispatchKey dispatch_key(c10::DeviceType device_type) { in dispatch_key() function
|
/aosp_15_r20/external/pytorch/torch/csrc/inductor/aoti_eager/ |
H A D | kernel_holder.cpp | 168 c10::DispatchKey dispatch_key, in AOTIPythonKernelHolder()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/sparse/ |
H A D | SparseTensor.cpp | 154 DispatchKey dispatch_key; in new_sparse() local
|
H A D | SparseCsrTensor.cpp | 354 DispatchKey dispatch_key = DispatchKey::Undefined; in new_compressed_tensor() local
|