[CMake] Removing the mention of failed while running rocminfo (#409)

* Making sure if GPU_TARGETS is given as input that we ignore the usage of rocminfo

* Update rocprofiler-sdk-utilities.cmake

* Update rocprofiler-sdk-utilities.cmake

[ROCm/rocprofiler-sdk commit: 80e058bf08]
Ta zmiana jest zawarta w:
Elwazir, Ammar authored and GitHub committed 2025-06-10 10:46:40 -05:00
1 rodzic 1562e4573c
złożenie 7482372c0b
Plik 1 zmieniony
+1 -1
@@ -44,7 +44,7 @@ function(rocprofiler_sdk_get_gfx_architectures _VAR)
else()
message(
AUTHOR_WARNING
"${rocminfo_EXECUTABLE} failed with error code ${rocminfo_RET}\nstderr:\n${rocminfo_ERR}\nstdout:\n${rocminfo_OUT}"
"${rocminfo_EXECUTABLE} returned ${rocminfo_RET}\nstderr:\n${rocminfo_ERR}\nstdout:\n${rocminfo_OUT}"
)
endif()
endif()