Change the clean shader API to clean local data

To be align with the unified API.

Change-Id: I2819339fba6f528204cebd3e9605109e82cbc5b4
This commit is contained in:
Bill(Shuzhou) Liu
2024-06-13 14:13:46 -05:00
parent 94cab382bf
commit e3c63628e5
10 changed files with 31 additions and 39 deletions
+2 -3
View File
@@ -1459,12 +1459,11 @@ amdsmi_status_t amdsmi_set_gpu_process_isolation(amdsmi_processor_handle process
pisolate);
}
amdsmi_status_t amdsmi_set_gpu_run_cleaner_shader(amdsmi_processor_handle processor_handle,
uint32_t sclean) {
amdsmi_status_t amdsmi_clean_gpu_local_data(amdsmi_processor_handle processor_handle) {
AMDSMI_CHECK_INIT();
return rsmi_wrapper(rsmi_dev_gpu_run_cleaner_shader, processor_handle,
sclean);
1);
}
amdsmi_status_t