<div dir="ltr"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hi folks, </p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I am working on modifying OMPD (in the OpenMPToolsInterface/LLVM-openmp/ompd-tests
branch) to retrieve the value of the ICV ‘nthreads-var’. ‘nthreads-var’ is a list
and as per my understanding, the value of this list at any point for a
particular thread would be:</p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[this_thr->th.th_current_task->td_icvs.nproc, __kmp_nested_nth.nth[current_nesting_level
+1], __kmp_nested_nth.nth[current_nesting_level + 2], …, __kmp_nested_nth.nth[used - 1]]</p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Except for the first element of this list, the other elements of this list are subject to the condition that current_nesting_level  is less than __kmp_nested_nth.used. <span style="font-size:11pt">Wanted to confirm with you folks that my understanding is
correct. Please correct me otherwise.</span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks a bunch,</p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Jini.</p></div>