<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Luca, in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087671#M15457</link>
    <description>&lt;P&gt;Luca,&lt;/P&gt;

&lt;P&gt;I have not been able to reproduce the problem, and without your assistance, there's no more I can do for you. Please respond by Tuesday, May 23rd, or I will consider this thread abandoned.&lt;/P&gt;

&lt;P&gt;- Alex&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT: &lt;/STRONG&gt;I never heard back, so I'm going to close this thread. If you have another question please create a new thread.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 16:29:00 GMT</pubDate>
    <dc:creator>Alexandra_S_Intel</dc:creator>
    <dc:date>2017-05-18T16:29:00Z</dc:date>
    <item>
      <title>Why Missing start task error is returned?</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087662#M15448</link>
      <description>&lt;P&gt;I have this code:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;   ANNOTATE_SITE_BEGIN(solve);
   for(size_t i=0; i&amp;lt;wrapperIndexes.size(); i++){
       ANNOTATE_ITERATION_TASK(localizeKeypoint);
       const int r = wrapperIndexes&lt;I&gt;.r;
       const int c = wrapperIndexes&lt;I&gt;.c;
       const float val = localWrappers[wrapperIndexes&lt;I&gt;.i].cur.at&amp;lt;float&amp;gt;(wrapperIndexes&lt;I&gt;.r,wrapperIndexes&lt;I&gt;.c);
       if ( (val &amp;gt; positiveThreshold &amp;amp;&amp;amp; (isMax(val, localWrappers[wrapperIndexes&lt;I&gt;.i].cur, r, c) &amp;amp;&amp;amp; isMax(val, localWrappers[wrapperIndexes&lt;I&gt;.i].low, r, c) &amp;amp;&amp;amp; isMax(val, localWrappers[wrapperIndexes&lt;I&gt;.i].high, r, c))) ||
            (val &amp;lt; negativeThreshold &amp;amp;&amp;amp; (isMin(val, localWrappers[wrapperIndexes&lt;I&gt;.i].cur, r, c) &amp;amp;&amp;amp; isMin(val, localWrappers[wrapperIndexes&lt;I&gt;.i].low, r, c) &amp;amp;&amp;amp; isMin(val, localWrappers[wrapperIndexes&lt;I&gt;.i].high, r, c))) )
          // either positive -&amp;gt; local max. or negative -&amp;gt; local min.
            localizeKeypoint(r, c, localCurSigma[wrapperIndexes&lt;I&gt;.i], localPixelDistances[wrapperIndexes&lt;I&gt;.i], localWrappers[wrapperIndexes&lt;I&gt;.i]);
   }
   ANNOTATE_SITE_END();&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;Which is compiled with icpc 2017 and compiler options:&lt;/P&gt;

&lt;DIV class="post-text" style="margin: 0px 0px 5px; padding: 0px; border: 0px currentColor; border-image: none; width: 660px; color: rgb(36, 39, 41); line-height: 1.3; -ms-word-wrap: break-word;" itemprop="text"&gt;
	&lt;PRE style="padding: 5px; border: 0px currentColor; border-image: none; width: auto; overflow: auto; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; margin-top: 0px; margin-bottom: 1em; -ms-word-wrap: normal; max-height: 600px; background-color: rgb(239, 240, 241);"&gt;
&amp;nbsp;&lt;/PRE&gt;

	&lt;PRE class="brush:cpp;"&gt;INTEL_OPT=-O3 -simd -xCORE-AVX2 -parallel -qopenmp -fargument-noalias -ansi-alias -no-prec-div -fp-model fast=2
INTEL_PROFILE=-g -qopt-report=5 -Bdynamic -shared-intel -debug inline-debug-info -qopenmp-link dynamic -parallel-source-info=2 -ldl &lt;/PRE&gt;

	&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;However, after running a dependency analysis, a "Missing start task" is returned:&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P&gt;&lt;IMG src="https://i.stack.imgur.com/HTBvU.png" /&gt;&lt;/P&gt;

	&lt;P&gt;Why this happens?&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;I'm sorry, but I don't know how to attach the binary file of the application and the input image as argument, I hope that this is enough (please let me know otherwise).&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Apr 2017 09:30:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087662#M15448</guid>
      <dc:creator>luca_l_</dc:creator>
      <dc:date>2017-04-20T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Hi Luca,</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087663#M15449</link>
      <description>&lt;P&gt;Hi Luca,&lt;/P&gt;

&lt;P&gt;Do you run threading analysis or vectorization analysis? For the latter, you don't need the source annotations. You can run Survey, enable checkbox next to the loop name and run Dependencies. It uses difference mechanism and should not have that error.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Kirill&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087663#M15449</guid>
      <dc:creator>Kirill_R_Intel</dc:creator>
      <dc:date>2017-04-20T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Read your another post. So,</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087664#M15450</link>
      <description>&lt;P&gt;Read your another post. So, you need the source annotations. Can you try ANNOTATE_TASK_BEGIN/ANNOTATE_TASK_END instead of the iteration task? This explicitly designates start and end of the task (start and end of the loop body).&lt;/P&gt;

&lt;P&gt;It looks like analysis finished well, but some of iterations could be missed.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:09:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087664#M15450</guid>
      <dc:creator>Kirill_R_Intel</dc:creator>
      <dc:date>2017-04-20T16:09:31Z</dc:date>
    </item>
    <item>
      <title>For posterity: here is the</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087665#M15451</link>
      <description>&lt;P&gt;For posterity: here is the other thread this user created on the same topic: &lt;A href="https://software.intel.com/en-us/forums/intel-advisor-xe/topic/731411"&gt;https://software.intel.com/en-us/forums/intel-advisor-xe/topic/731411&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Conversation will proceed here.&lt;/P&gt;

&lt;P&gt;First, this may be helpful to you in general: &lt;A href="https://software.intel.com/en-us/intel-advisor-2017-user-guide-windows-annotations"&gt;https://software.intel.com/en-us/intel-advisor-2017-user-guide-windows-annotations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Secondly, I agree with Kirill's suggestion. That said, I'm going to speculate here. Your code boils down to this:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;for (loop range)
{
&amp;nbsp;ANNOTATE_ITERATION_TASK(localizeKeypoint);
&amp;nbsp;const int variabledeclarations = value;
&amp;nbsp;if (longifstatement)
&amp;nbsp;&amp;nbsp;localizeKeypoint(parameters);
}&lt;/PRE&gt;

&lt;P&gt;If that if-statement is false, you don't localizeKeypoint. You just declare and then immediately discard variables. Is it possible that on such occasions, the fact that the loop becomes&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;for (loop range)
{
&amp;nbsp;ANNOTATE_ITERATION_TASK(localizeKeypoint);
&amp;nbsp;// Do essentially nothing
}&lt;/PRE&gt;

&lt;P&gt;"confuses" the iteration annotation because it's an iteration of doing nothing? It might even especially be so if the first iteration ends up with the if being false, because then the "start" of the loop is empty. That's just speculation on my part, but I thought it was worth mentioning.&lt;/P&gt;

&lt;P&gt;Let me know if changing to ANNOTATE_SITE_BEGIN(localizeKeypoint) and ANNOTATE_SITE_END() helps.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 17:01:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087665#M15451</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-04-20T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Hello, Luca.</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087666#M15452</link>
      <description>&lt;P&gt;Hello, Luca.&lt;BR /&gt;
	I have a follow up. There's been some discussion on our end, and I have some more information for you.&lt;/P&gt;

&lt;P&gt;Regarding the sub-question on your other thread (sorry I missed that sub-question when I closed the thread), where you ask why you get horrible gain: this is expected. You're supposed to fiddle with the sliders to simulate different iteration counts and iteration durations - potential ways you could implement your multithreading, and this will change the predictions. You're getting horrible gain on the default settings of 1x and 1x. That's because, with that number of iterations at that iteration duration, you would get horrible gain. Play with the sliders to find a more optimal gain.&lt;/P&gt;

&lt;P&gt;Another thing is that, according to your stackoverflow question on this: &lt;A href="http://stackoverflow.com/questions/43497893/missing-start-task-in-intel-advisor"&gt;http://stackoverflow.com/questions/43497893/missing-start-task-in-intel-advisor&lt;/A&gt;&lt;BR /&gt;
	You seem to be using both annotations in the code and the checkboxes in the interface. While I'm not 100% sure that it could actually cause problems, that's certainly not a necessary thing (the checkboxes are used in the Vectorization advisor flow). I would advise you to not use the checkboxes if you're using the code annotations, just in case.&lt;/P&gt;

&lt;P&gt;But the other thing your stackoverflow question reveals is that your loop may have some kind of exception handling inside it. Notice under the "Why no vectorization?" column, it says "exception handling for a call prevents vectorization". Exceptions, exits, and possibly returns inside an iteration which has been marked with ANNOTATE_ITERATION_TASK can cause problems with data collection.&lt;BR /&gt;
	Again, recommend switching to ANNOTATE_SITE_BEGIN and ANNOTATE_SITE_END.&lt;/P&gt;

&lt;P&gt;Please let me know if that fixes your problem. Otherwise, if you would like, you can send a reproducer code for me to investigate.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 16:47:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087666#M15452</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-04-21T16:47:29Z</dc:date>
    </item>
    <item>
      <title>Luca,</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087667#M15453</link>
      <description>&lt;P&gt;Luca,&lt;/P&gt;

&lt;P&gt;Have we been able to answer your question? Please respond by Tuesday, May 2nd, or I'll consider your question answered/abandoned and close this thread.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 16:22:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087667#M15453</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-04-25T16:22:36Z</dc:date>
    </item>
    <item>
      <title>Quote:Alexandra S. (Intel)</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087668#M15454</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Alexandra S. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Luca,&lt;/P&gt;

&lt;P&gt;Have we been able to answer your question? Please respond by Tuesday, May 2nd, or I'll consider your question answered/abandoned and close this thread.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Sorry for the late reply, but I don't get notification on my school email account when someone reply to this. Btw, I've already tried the ANNOTATION_TASK_BEGIN and ANNOTATION_TASK_END and nothing changes, unfortunately.&lt;/P&gt;

&lt;P&gt;Thanks for clarifiying about the prediction.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 17:37:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087668#M15454</guid>
      <dc:creator>luca_l_</dc:creator>
      <dc:date>2017-04-27T17:37:10Z</dc:date>
    </item>
    <item>
      <title>Luca,</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087669#M15455</link>
      <description>&lt;P&gt;Luca,&lt;/P&gt;

&lt;P&gt;Just to be certain, when you put your task begin and task end in (sorry I said "SITE" instead of "TASK" earlier), it looked like this, yes?&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;ANNOTATE_SITE_BEGIN(solve);
for (size_t i=0; i&amp;lt;wrapperIndexes.size(); i++){
&amp;nbsp;ANNOTATE_TASK_BEGIN(localizeKeypoint);
&amp;nbsp;const int variabledeclarations = values;
&amp;nbsp;if (ifstatement)
&amp;nbsp;&amp;nbsp;localizeKeypoint(input);
&amp;nbsp;ANNOTATE_TASK_END();
}
ANNOTATE_SITE_END();
&lt;/PRE&gt;

&lt;P&gt;I'm going to try to reproduce this error. If you could send me a reproducer code, that would save me a lot of time and effort; at the bottom of the gray "Leave a Comment" box, just above the submit button, there's a link "Attach Files to Post". If you click it, it'll drop down a menu that allows you to attach a file. Please send me a simple case that reproduces the problem - I don't need your whole program, just a pared down version that compiles, runs, and causes the same advisor error.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 17:04:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087669#M15455</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-05-02T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Luca, I have not been able to</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087670#M15456</link>
      <description>&lt;P&gt;Luca, I have not been able to reproduce the problem. I don't think I'll be able to help you without reproducer code.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 21:03:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087670#M15456</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-05-11T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Luca,</title>
      <link>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087671#M15457</link>
      <description>&lt;P&gt;Luca,&lt;/P&gt;

&lt;P&gt;I have not been able to reproduce the problem, and without your assistance, there's no more I can do for you. Please respond by Tuesday, May 23rd, or I will consider this thread abandoned.&lt;/P&gt;

&lt;P&gt;- Alex&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT: &lt;/STRONG&gt;I never heard back, so I'm going to close this thread. If you have another question please create a new thread.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:29:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Why-Missing-start-task-error-is-returned/m-p/1087671#M15457</guid>
      <dc:creator>Alexandra_S_Intel</dc:creator>
      <dc:date>2017-05-18T16:29:00Z</dc:date>
    </item>
  </channel>
</rss>

