Searched refs:DeviceFromContext (Results 1 – 2 of 2) sorted by relevance
775 /* static */ port::StatusOr<CUdevice> GpuDriver::DeviceFromContext( in DeviceFromContext() function in stream_executor::gpu::GpuDriver1347 return DeviceFromContext(result.ValueOrDie()); in GetPointerDevice()1571 auto from_device = DeviceFromContext(from); in CanEnablePeerAccess()1577 auto to_device = DeviceFromContext(to); in CanEnablePeerAccess()
71 static port::StatusOr<GpuDeviceHandle> DeviceFromContext(GpuContext* context);