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

* [SWDEV-498711] RDC Partition Implementation

Change-Id: Ibfc3709793770537e4c9d36458f34c6b4f461724
Signed-off-by: adapryor <Adam.pryor@amd.com>
Este commit está contenido en:
Pryor, Adam authored and GitHub committed 2025-03-27 14:10:11 -05:00
1 padre 929041b556
commit 47692d3ed5
29 files changed
+1503 -358

No files matched your search

+8
Ver fichero
@@ -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_;