1. A computer-implemented method comprising: during execution of compiled code for a user program, where the user program includes a parallel programming keyword, dynamically selecting a hardware-specific variant of a run-time function call for a selected sub-task associated with the parallel programming keyword; and dispatching the variant for execution on a hardware processing element associated with the variant.