CoreCounts

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

Functions

Return type

Description

uint32_t

Gets the recommended thread pool size.

void

cauldron::GetCPUDescription (std::wstring& cpuName)
Gets an std::wstring representation of the CPU name.

Detailed description

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

Global functions

GetRecommendedThreadCount

Copied!

uint32_t cauldron::GetRecommendedThreadCount ()

Gets the recommended thread pool size.

Returns:

The recommended number of threads to create.


GetCPUDescription

Copied!

void cauldron::GetCPUDescription (std::wstring& cpuName)

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

Parameters:

cpuName

The std::wstring description of the onboard CPU.

Returns:

None.