[SWDEV-512393] Fix for incorrect cpu set size input (#399)

Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>
This commit is contained in:
Mewar, Deepak
2025-05-29 22:44:03 +05:30
committed by GitHub
parent 91c9969b72
commit 9a49e454fd
5 changed files with 47 additions and 62 deletions
-14
View File
@@ -178,18 +178,4 @@ constexpr T translate_umax_or_assign_value(U source_value, V target_value)
return result;
}
/**
* @brief Iterates all entires in a directory .
*
* @details Given a directory in const std::string & base_path, and a callback function
* entry_callback, this function will open the directory and iterate through all entires
* in that directory. For each entry it will call the entry_callback function with the
* path of that entry
*
* @param[in] base_path the path of the directory to iterate in
*
* @retval ::true if the iteration was successful
* ::false if the iteration failed
*/
bool iterate_directory(const std::string &base_path, std::function<void(const std::string &)> entry_callback);
#endif // AMD_SMI_INCLUDE_AMD_SMI_UTILS_H_