Home
last modified time | relevance | path

Searched refs:unsafe_set_device (Results 1 – 2 of 2) sorted by relevance

/external/pytorch/aten/src/ATen/hip/impl/
DHIPAllocatorMasqueradingAsCUDA.h20 r.unsafe_set_device(Device(c10::DeviceType::CUDA, r.device().index())); in allocate()
/external/pytorch/c10/core/
DAllocator.h118 void unsafe_set_device(Device device) { in unsafe_set_device() function