<html><body>
<p><font size="2" face="sans-serif">Hi all,</font><br>
<br>
<font size="2" face="sans-serif">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.</font><br>
<br>
<font size="2" face="sans-serif">I tried with multiple cases, but I always get the same number of arguments passed to the invoke_microtask function.</font><br>
<br>
<font size="2" face="sans-serif">- 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.</font><br>
<br>
<font size="2" face="sans-serif">- Do other compilers targeting libiomp make use of the variable argument array to store the microtask arguments (instead of using a struct of pointers)?</font><br>
<br>
<font size="2" face="sans-serif">Thanks for any help</font><br>
<br>
<br>
<font size="2" face="sans-serif">-- Carlo</font></body></html>