A high-performance general-purpose compute library

Get the current device ID More...

Functions

int deviceget ()
 Gets the current device ID.
 
int getDevice ()
 Gets the current device ID.
 

Detailed Description

Get the current device ID

Gets the ID of the current device


Function Documentation

◆ deviceget()

int deviceget ( )

Gets the current device ID.

Get the current device ID

Gets the ID of the current device


Returns
the device ID of the current device
Deprecated
Use getDevice() instead

◆ getDevice()

int getDevice ( )

Gets the current device ID.

Get the current device ID

Gets the ID of the current device


Returns
the device ID of the current device