Revert "Implement CPU discovery support"
This reverts commit f967f8a17d15e148464393fcd145af01dc0e1525.
이 커밋은 다음에 포함됨:
1 부모
c96f5db52c
커밋
24024f0e4f
16 파일이 변경됨
+4
-364
검색과 일치하는 파일 없음
@@ -174,16 +174,6 @@ rdc_status_t rdc_device_get_all(rdc_handle_t p_rdc_handle,
|
||||
->rdc_device_get_all(gpu_index_list, count);
|
||||
}
|
||||
|
||||
rdc_status_t rdc_device_get_all_cpu(rdc_handle_t p_rdc_handle,
|
||||
uint32_t cpu_index_list[RDC_MAX_NUM_DEVICES], uint32_t* count) {
|
||||
if (!p_rdc_handle || !count) {
|
||||
std::cout << "p_rdc_handle or count is NULL\n";
|
||||
return RDC_ST_INVALID_HANDLER;
|
||||
}
|
||||
|
||||
return static_cast<amd::rdc::RdcHandler*>(p_rdc_handle)
|
||||
->rdc_device_get_all_cpu(cpu_index_list, count);
|
||||
}
|
||||
rdc_status_t rdc_device_get_attributes(rdc_handle_t p_rdc_handle, uint32_t gpu_index,
|
||||
rdc_device_attributes_t* p_rdc_attr) {
|
||||
if (!p_rdc_handle || !p_rdc_attr) {
|
||||
@@ -194,17 +184,8 @@ rdc_status_t rdc_device_get_attributes(rdc_handle_t p_rdc_handle, uint32_t gpu_i
|
||||
->rdc_device_get_attributes(gpu_index, p_rdc_attr);
|
||||
}
|
||||
|
||||
rdc_status_t rdc_device_get_cpu_attributes(rdc_handle_t p_rdc_handle, uint32_t cpu_index,
|
||||
rdc_device_attributes_t* p_rdc_attr) {
|
||||
if (!p_rdc_handle || !p_rdc_attr) {
|
||||
return RDC_ST_INVALID_HANDLER;
|
||||
}
|
||||
|
||||
return static_cast<amd::rdc::RdcHandler*>(p_rdc_handle)
|
||||
->rdc_device_get_cpu_attributes(cpu_index, p_rdc_attr);
|
||||
}
|
||||
|
||||
rdc_status_t rdc_device_get_component_version(rdc_handle_t p_rdc_handle, rdc_component_t component, rdc_component_version_t* p_rdc_compv) {
|
||||
rdc_status_t rdc_device_get_component_version(rdc_handle_t p_rdc_handle, rdc_component_t component,
|
||||
rdc_component_version_t* p_rdc_compv) {
|
||||
if (!p_rdc_handle || !p_rdc_compv) {
|
||||
return RDC_ST_INVALID_HANDLER;
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단