From b727fe1f8b48ab398dfe149e67ad4f30f4dd6695 Mon Sep 17 00:00:00 2001 From: Justin Williams Date: Mon, 8 Sep 2025 17:06:51 +0000 Subject: [PATCH] Adjust the amdsmitst.exclude file to blacklist the partition tests for non-MI300+ asics Signed-off-by: Justin Williams --- .../functional/memorypartition_read_write.cc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tests/amd_smi_test/functional/memorypartition_read_write.cc b/tests/amd_smi_test/functional/memorypartition_read_write.cc index 0d44c2199a..86185f7621 100755 --- a/tests/amd_smi_test/functional/memorypartition_read_write.cc +++ b/tests/amd_smi_test/functional/memorypartition_read_write.cc @@ -402,20 +402,6 @@ void TestMemoryPartitionReadWrite::Run(void) { // FYI Need to place after saving current compute partitions, since reloading driver will reset // all back to SPX/DPX/etc (whatever is default for that NPS mode; see // `sudo amd-smi partition -a`). - IF_VERB(STANDARD) { - std::cout << "\t**" - << "======== TEST AMDSMI_GPU_DRIVER_RELOAD() BEFORE" - << " MEMORY PARTITION CHECKS ===============" << std::endl; - } - amdsmi_status_t driver_reload_status = AMDSMI_STATUS_NOT_SUPPORTED; - std::string preload_message = - "\t Reloading the AMD GPU driver before memory partition checks." - " This may take some time, please wait..."; - ReloadDriverWithMessages(isVerbose, preload_message, - "amdsmi_gpu_driver_reload() successful.", - "amdsmi_gpu_driver_reload() failed", - "amdsmi_gpu_driver_reload() failed with AMDGPU_RESTART_ERR", - &driver_reload_status); // Run memory partition tests IF_VERB(STANDARD) { @@ -779,7 +765,7 @@ void TestMemoryPartitionReadWrite::Run(void) { // amdsmi_set_gpu_memory_partition(). // This is to allow the user to select the appropriate time to reload the driver // since there can be errors if any device has a workload/process running on it. - driver_reload_status = AMDSMI_STATUS_NOT_SUPPORTED; + amdsmi_status_t driver_reload_status = AMDSMI_STATUS_NOT_SUPPORTED; std::string reload_message = "\t Reloading the AMD GPU driver after resetting memory partition to " + std::string(orig_memory_partition)