The getCurrentHardwareId() function

Returns the value of the hardware ID on which the UDX is operating.

Description

The function has the following syntax:
extern "C" int getCurrentHardwareId();

Returns

A hardware ID when the UDF is running on a SPU, or 0 is the UDF is running elsewhere such as the host.