Luna::JobSystem::get_current_job_id

job_id_t get_current_job_id(void *params)

Fetches the job ID assigned with the specified job.

Parameters

  • in params

    The parameter block pointer of the job.

Return value

Returns the assigned job ID for the job. Returns INVALID_JOB_ID if the job is not submitted yet.