Implement rdc_device_get_component_version API related code

Implement an API to obtain the version information of the rdc calling component.
See rdc_component_t for details on available components.
It can be expanded later if necessary.

Change-Id: I03b48f774179c52c57b606704283add74ca39a02
Signed-off-by: Chen Gong <curry.gong@amd.com>
Tento commit je obsažen v:
Chen Gong
2024-08-18 19:29:04 +08:00
odevzdal Galantsev, Dmitrii
rodič 69a9f24b6e
revize 5a3fd9fbc1
9 změnil soubory, kde provedl 109 přidání a 0 odebrání
+3
Zobrazit soubor
@@ -42,6 +42,9 @@ class RdcAPIServiceImpl final : public ::rdc::RdcAPI::Service {
const ::rdc::GetDeviceAttributesRequest* request,
::rdc::GetDeviceAttributesResponse* reply) override;
::grpc::Status GetComponentVersion(::grpc::ServerContext* context, const ::rdc::GetComponentVersionRequest* request,
::rdc::GetComponentVersionResponse* reply) override;
::grpc::Status CreateGpuGroup(::grpc::ServerContext* context,
const ::rdc::CreateGpuGroupRequest* request,
::rdc::CreateGpuGroupResponse* reply) override;