Skip to content

CoreCounts

Navigation: SamplesCauldronMiscellaneous

CoreCounts

Wrapper for AMD CPU Services library to fetch with core count recommendations.

Functions

GetRecommendedThreadCount

uint32_t GetRecommendedThreadCount()

Gets the recommended thread pool size.

Returns: The recommended number of threads to create.

Returns: uint32_t

Source: framework/cauldron/framework/inc/misc/corecounts.h (line 40, column 14)

GetCPUDescription

void GetCPUDescription(std::wstring &cpuName)

Gets an std::wstring representation of the CPU name.

Returns: None.

Parameters:

  • cpuName (std::wstring &) – [out] The std::wstring description of the onboard CPU.

Source: framework/cauldron/framework/inc/misc/corecounts.h (line 49, column 10)