alf_accel_instance_id - Returns the number of instances that are running this computational kernel.
int alf_accel_instance_id (void);
Parameters | |
None |
This function returns the current instance ID of the task. This ID ranges from 0 to alf_accel_num_instances.
>=0 | Returns the ID of the current accelerator. This is guaranteed to be unique within the reserved accelerators for ALF runtime |
less than 0 | Internal error |