The getCurrentDatasliceId() function
Returns the value of the dataslice ID on which the UDX is operating.
Description
The function
has the following syntax:
extern "C" int getCurrentDatasliceId();Returns
A dataslice ID when the UDF is running on a SPU, or 0 is the UDF is running elsewhere such as the host.