Learn R Programming

gpuR (version 2.0.6)

detectGPUs: Detect Available GPUs

Description

Find out how many GPUs available

Usage

detectGPUs(platform_idx = NULL)

Value

An integer representing the number of available GPUs

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