[SWDEV-498711] RDC Partition Implementation (#119)

* [SWDEV-498711] RDC Partition Implementation

Change-Id: Ibfc3709793770537e4c9d36458f34c6b4f461724
Signed-off-by: adapryor <Adam.pryor@amd.com>
Tá an tiomantas seo le fáil i:
Pryor, Adam údaraithe agus GitHub tiomanta 2025-03-27 14:10:11 -05:00
1 tuismitheoir 929041b556
tiomantas 47692d3ed5
29 comhad athraithe
+1503 -358

Níor tháinig aon chomhaid le do chuardach

+8
Féach ar an gComhad
@@ -184,6 +184,14 @@ class RdcAPIServiceImpl final : public ::rdc::RdcAPI::Service {
const ::rdc::ClearConfigRequest* request,
::rdc::ClearConfigResponse* reply) override;
::grpc::Status GetNumPartition(::grpc::ServerContext* context,
const ::rdc::GetNumPartitionRequest* request,
::rdc::GetNumPartitionResponse* reply) override;
::grpc::Status GetInstanceProfile(::grpc::ServerContext* context,
const ::rdc::GetInstanceProfileRequest* request,
::rdc::GetInstanceProfileResponse* reply) override;
private:
bool copy_gpu_usage_info(const rdc_gpu_usage_info_t& src, ::rdc::GpuUsageInfo* target);
rdc_handle_t rdc_handle_;