Searched refs:DeviceFromContext (Results 1 – 2 of 2) sorted by relevance
719 /* static */ port::StatusOr<CUdevice> GpuDriver::DeviceFromContext( in DeviceFromContext() function in stream_executor::gpu::GpuDriver938 auto device = DeviceFromContext(context); in CreateMemoryHandle()976 auto device = DeviceFromContext(context); in MapMemory()1352 return DeviceFromContext(result.ValueOrDie()); in GetPointerDevice()1577 auto from_device = DeviceFromContext(from); in CanEnablePeerAccess()1583 auto to_device = DeviceFromContext(to); in CanEnablePeerAccess()
68 static port::StatusOr<GpuDeviceHandle> DeviceFromContext(GpuContext* context);