R/getGpuId.R

Defines functions getGpuId

Documented in getGpuId

getGpuId <- function()
{
	deviceId <- .C("rgetDevice", deviceId = integer(1),
		PACKAGE='gputools')$deviceId
	return(deviceId)
}

Try the gputools package in your browser

Any scripts or data that you put into this service are public.

gputools documentation built on May 30, 2017, 1:52 a.m.