Renamed API amdsmi_dev_get_memory_total to
amdsmi_get_gpu_memory_total
grep -rli 'amdsmi_dev_get_memory_total' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_total/amdsmi_get_gpu_memory_total/g' @
Change-Id: I06dc20f4bf783c0ee824a6d4b4f7162166c598cb
[ROCm/amdsmi commit: cdad242947]
This commit is contained in:
zatwierdzone przez
Naveen Krishna Chatradhi
rodzic
8b81aaf620
commit
4a662552fb
@@ -148,7 +148,7 @@ from .amdsmi_interface import amdsmi_get_power_ave
|
||||
from .amdsmi_interface import amdsmi_get_energy_count
|
||||
|
||||
# # Memory information
|
||||
from .amdsmi_interface import amdsmi_dev_get_memory_total
|
||||
from .amdsmi_interface import amdsmi_get_gpu_memory_total
|
||||
from .amdsmi_interface import amdsmi_dev_get_memory_usage
|
||||
from .amdsmi_interface import amdsmi_dev_get_memory_busy_percent
|
||||
from .amdsmi_interface import amdsmi_dev_get_memory_reserved_pages
|
||||
|
||||
Reference in New Issue
Block a user