Home
last modified time | relevance | path

Searched refs:dispatchKeyToDeviceType (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/pytorch/c10/core/
H A DTensorOptions.h744 inline c10::DeviceType dispatchKeyToDeviceType(DispatchKey dispatch_key) { in dispatchKeyToDeviceType() function
774 .device(dispatchKeyToDeviceType(dispatch_key)); in dispatchKeyToTensorOptions()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_legacy_variable.cpp71 .device(dispatchKeyToDeviceType(dispatch_key)) in THPVariable_pynew()
/aosp_15_r20/external/pytorch/aten/src/ATen/
H A DSparseTensorImpl.cpp13 return c10::dispatchKeyToDeviceType(k); in sparseTensorSetToDeviceType()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dtensor_new.cpp586 dispatchKeyToDeviceType(dispatch_key) == device.value().type(), in check_legacy_ctor_device()
588 dispatchKeyToDeviceType(dispatch_key), in check_legacy_ctor_device()
/aosp_15_r20/external/pytorch/torch/csrc/inductor/aoti_eager/
H A Dkernel_holder.cpp174 device_(c10::dispatchKeyToDeviceType(dispatch_key_), 0), in AOTIPythonKernelHolder()
/aosp_15_r20/external/pytorch/torch/csrc/
H A DModule.cpp1109 dispatchKeyToDeviceType(torch::tensors::get_default_dispatch_key()), in THPModule_getDefaultDevice()