Revert "Added AMD-SMI Linux Baremetal"
This reverts commit64b1e4e65b. Reason for revert: Branch is still WIP Change-Id: I75eec813b3d81049f033fe0a534251bd69eeca0e [ROCm/amdsmi commit:6aa91da74c]
This commit is contained in:
committed by
Dmitrii Galantsev
parent
f4828ee580
commit
19c2ecca09
@@ -259,8 +259,6 @@ int main() {
|
||||
// Get device type. Since the amdsmi is initialized with
|
||||
// AMD_SMI_INIT_AMD_GPUS, the device_type must be AMD_GPU.
|
||||
device_type_t device_type = {};
|
||||
std::cout << "Device Handle: " << device_handles[j] << std::endl;
|
||||
|
||||
ret = amdsmi_get_device_type(device_handles[j], &device_type);
|
||||
CHK_AMDSMI_RET(ret)
|
||||
if (device_type != AMD_GPU) {
|
||||
|
||||
Reference in New Issue
Block a user