[Openmp-dev] Number of variable arguments to microtask in __kmp_invoke_microtask

Carlo Bertolli cbertol at us.ibm.com
Wed Jun 11 15:01:23 PDT 2014



Hi all,

I noticed that clang generates code with only one "variable argument" to
__kmpc_fork_call (i.e. ultimately to __kmp_invoke_microtask) - that is the
struct.anon pointer that contains the pointers to all arguments used in the
microtask.

I tried with multiple cases, but I always get the same number of arguments
passed to the invoke_microtask function.

- Does anyone know about examples in which more arguments are used? I tried
examples which reference a different number of arrays and shared variables,
but nothing changes.

- Do other compilers targeting libiomp make use of the variable argument
array to store the microtask arguments (instead of using a struct of
pointers)?

Thanks for any help


-- Carlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20140611/673de36a/attachment.html>


More information about the Openmp-dev mailing list