Learn R Programming

gpuR (version 2.0.6)

detectCPUs: Detect Available OpenCL enabled CPUs

Description

Find out how many CPUs available

Usage

detectCPUs(platform_idx = NULL)

Value

An integer representing the number of available CPUs

Arguments

platform_idx

An integer value indicating which platform to query. If NULL it will iterate over all platforms and sum results

See Also

detectPlatforms detectGPUs