/aosp_15_r20/external/pytorch/c10/test/core/ |
H A D | DispatchKeySet_test.cpp | 38 // Similarly, the AutogradCUDA key gets 2 bits in the keyset: in TEST() 40 auto autograd_cuda = DispatchKeySet(DispatchKey::AutogradCUDA); in TEST() 72 {DispatchKey::AutogradCUDA, in TEST() 78 DispatchKeySet({DispatchKey::AutogradCUDA, DispatchKey::CPU})); in TEST() 102 ASSERT_EQ(*autograd_dense_cpu_cuda_iter++, DispatchKey::AutogradCUDA); in TEST() 175 // AutogradCPU, AutogradCUDA 275 // per-backend functionalities. E.g. {AutogradCUDA, CUDA} or in TEST() 276 // {AutogradCPU, AutogradCUDA} There should be 2 total runtime keys in in TEST() 285 // runtime keys to be in the set. e.g. if i = AutogradCUDA, and j = CPU, in TEST() 286 // then combined = {AutogradCUDA, AutogradCPU, CUDA, CPU} in TEST() [all …]
|
/aosp_15_r20/external/pytorch/test/ |
H A D | test_dispatch.py | 39 "AutogradCUDA", 424 AutogradCUDA: default_def_name_t_t [math kernel] 467 AutogradCUDA: default_def_name_t_t [math kernel] 509 AutogradCUDA: impl_t_t [math kernel] 556 AutogradCUDA: fn_math [math kernel] 594 AutogradCUDA: impl_t_t [autograd kernel] 645 AutogradCUDA: fn_math [math kernel] 691 AutogradCUDA: fn_math [math kernel] 738 AutogradCUDA: registered in pytorch framework [backend fallback] 787 AutogradCUDA: fn_autograd [autograd kernel] [all …]
|
H A D | test_autograd.py | 13858 # registrations in derivatives.yaml for Default, AutogradCUDA and NestedTensorAutograd 13867 # bogus gradient registered for AutogradCUDA is grad * 2 13929 # dispatch for _test_autograd_multiple_dispatch.fullcoverage and not AutogradCUDA 13964 # gradient registered to AutogradCUDA is grad.reshape_as(self) + 1
|
H A D | test_custom_ops.py | 1811 @parametrize("key", ["Autograd", "AutogradCPU", "AutogradCUDA"])
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | DispatchKeySet.h | 84 // - "Autograd": AutogradCPU, AutogradCUDA, Autograd XLA, ... 369 // DispatchKeySet([DispatchKey.CPU, DispatchKey.AutogradCUDA, 370 // DispatchKey.CUDA]).remove(DispatchKey.AutogradCUDA) 372 // DispatchKey.AutogradCUDA]).remove(DispatchKey.AutogradCUDA) 522 // DispatchKey::AutogradCUDA (CPU first because it has lower precedence than 757 constexpr auto autograd_cuda_ks = DispatchKeySet(DispatchKey::AutogradCUDA);
|
H A D | DispatchKey.cpp | 359 {"AutogradCUDA", c10::DispatchKey::AutogradCUDA}, in parseDispatchKey()
|
H A D | DispatchKeySet.cpp | 118 case DispatchKey::AutogradCUDA: in getBackendKeySetFromAutograd()
|
H A D | Backend.h | 71 } else if (t == DispatchKey::CUDA || t == DispatchKey::AutogradCUDA) { in dispatchKeyToBackend()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/ |
H A D | TensorWrapper.cpp | 58 DispatchKey::AutogradCPU, DispatchKey::AutogradCUDA, DispatchKey::AutogradXLA}); in makeTensorWrapperPtr() 78 DispatchKey::AutogradCPU, DispatchKey::AutogradCUDA, DispatchKey::AutogradXLA}); in unsafeMakeTensorWrapper()
|
/aosp_15_r20/external/pytorch/torch/_higher_order_ops/ |
H A D | triton_kernel_wrap.py | 741 triton_kernel_wrapper_mutation.fallthrough(DispatchKey.AutogradCUDA) 750 triton_kernel_wrapper_functional.fallthrough(DispatchKey.AutogradCUDA) 751 triton_kernel_wrapper_functional.fallthrough(DispatchKey.AutogradCUDA)
|
H A D | auto_functionalize.py | 222 auto_functionalized.fallthrough(DispatchKey.AutogradCUDA) 251 auto_functionalized_v2.fallthrough(DispatchKey.AutogradCUDA)
|
H A D | effects.py | 193 with_effects.fallthrough(DispatchKey.AutogradCUDA)
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | VariableFallbackKernel.cpp | 75 TORCH_LIBRARY_IMPL(_, AutogradCUDA, m) { in TORCH_LIBRARY_IMPL() argument
|
/aosp_15_r20/external/pytorch/torch/testing/_internal/optests/ |
H A D | autograd_registration.py | 92 key = "AutogradCUDA"
|
/aosp_15_r20/external/pytorch/torch/_custom_op/ |
H A D | impl.py | 326 for key in ["Autograd", "AutogradCPU", "AutogradCUDA"]:
|
/aosp_15_r20/external/pytorch/torch/export/ |
H A D | exported_program.py | 162 torch._C.DispatchKey.AutogradCUDA,
|
/aosp_15_r20/external/pytorch/torchgen/ |
H A D | model.py | 211 AutogradCUDA = auto() variable in DispatchKey 322 DispatchKey.AutogradCUDA,
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | python_dispatch.cpp | 681 // AutogradCUDA in initDispatchBindings()
|
/aosp_15_r20/external/pytorch/torch/ |
H A D | _ops.py | 897 DispatchKey.AutogradCUDA,
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/op_registration/ |
H A D | op_registration_test.cpp | 1698 // AutogradCUDA is fallthrough, calls CUDA kernel in TEST() 1814 // Similar to in-tree AutogradCPU/AutogradCUDA etc, out-of-tree backends usually register in TEST()
|
/aosp_15_r20/external/pytorch/torch/_decomp/ |
H A D | decompositions.py | 309 @aten.rrelu_with_noise.default.py_impl(DispatchKey.AutogradCUDA) 333 @aten.rrelu_with_noise_.default.py_impl(DispatchKey.AutogradCUDA)
|
/aosp_15_r20/external/pytorch/tools/autograd/ |
H A D | derivatives.yaml | 2936 AutogradCUDA: 2948 AutogradCUDA:
|
/aosp_15_r20/external/pytorch/test/functorch/ |
H A D | test_eager_transforms.py | 5045 @mysum.py_impl(torch._C.DispatchKey.AutogradCUDA)
|