<?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 Re: MKL VSL 2D Convolution - Wrong answer with no error message in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1551596#M35568</link>
    <description>&lt;P&gt;Hello Jilani,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for pointing out my mistake!&lt;BR /&gt;&lt;BR /&gt;I corrected them but still the output of&amp;nbsp; variable y, which is supposed to be the output is still all zeroes. I've tried your code and the output variable is still all zeroes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The problem is not solved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In your modified code, you print out the variable&amp;nbsp; VSL_STATUS_OK, which always seems to show 0.&lt;BR /&gt;In my original code, I had printed out the '&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable after calls to&amp;nbsp;vslsconvnewtask,&amp;nbsp;vslconvsetstart,&amp;nbsp;vslconvsetinternalprecision &amp;amp;&amp;nbsp;vslsconvexec.&amp;nbsp;&lt;BR /&gt;In my original code, it showed an error code -2312 after calling&amp;nbsp;vslsconvexec.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now if I modify your code to print only&amp;nbsp;the '&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable 4 times, as tested earlier. I get an error code -2311 after&amp;nbsp;calling&amp;nbsp;vslsconvexec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I don't understand why. I also don't find the list of error codes anywhere in the documentation or on the Intel website.&amp;nbsp;&lt;BR /&gt;Could you please help me understand what is this&amp;nbsp;'&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable used for, if output status is checked only with VSL_STATUS_OK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have commented out the lines where the two input matrices are also printed. That could mislead one into thinking the output is ok. Instead I'm printing out only the output matrix y, &amp;amp; the the 'stat' return variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached your code, with minor changes and the console output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 19:35:27 GMT</pubDate>
    <dc:creator>hari_muc</dc:creator>
    <dc:date>2023-12-07T19:35:27Z</dc:date>
    <item>
      <title>MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1547584#M35499</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am trying a minimum working example of MKL VSL 2D Convolution in ifx v2024.0.0.&lt;/P&gt;&lt;P&gt;I'm running MKL v2024.0.0 (installed with Base toolkit v2024.0.0), using Visual Studio 2022 on windows 10.&lt;/P&gt;&lt;P&gt;I'm trying to convolve two matrices of random numbers, each with 100x100 &amp;amp; 25x25 elements. A stride of [1,1] is chosen, since I want the output to also be 100x100.&lt;/P&gt;&lt;P&gt;It builds &amp;amp; runs without errors but output is always zero.&lt;/P&gt;&lt;P&gt;3 or 4 different forum pages here report a similar problems &amp;amp; the suggested solutions have been tried out.&lt;/P&gt;&lt;P&gt;Visual Studio project settings are set to choose MKL Parallel, ILP64.&lt;BR /&gt;I'm using additional linker options: mkl_intel_ilp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some advice on this problem will be very helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Nov 2023 22:36:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1547584#M35499</guid>
      <dc:creator>hari_muc</dc:creator>
      <dc:date>2023-11-26T22:36:26Z</dc:date>
    </item>
    <item>
      <title>Re:MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1548735#M35523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The issue reproduced at our end and we will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:01:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1548735#M35523</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-11-29T14:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1551509#M35566</link>
      <description>&lt;P&gt;Hi Srihari Srinivasan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing the detailed description of the issue and your requirements. It helps us to better understand the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The strides in the reproducer are not set correctly. Since a 2D array is used, if you expect to use each element, then the stride should be set to 1, &amp;lt;number of element in the first dimension&amp;gt; so for a matrix of size 100x100 it should be set to 1,100.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After updating the stride value from [1, 1] to [1, n], for example update the stat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;stat = vslsconvexec(taskonv,x,[1,1],f,[1,1],y,[1,1])&lt;/P&gt;
&lt;P&gt;to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;stat = vslsconvexec(taskonv,x,[1,n],f,[1,lop],y,[1,n])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results aren't 0 anymore.&lt;/P&gt;
&lt;P&gt;Please use the attached sample code after correcting stat and let us know whether the issue has been resolved or not?". Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jilani&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 16:40:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1551509#M35566</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-07T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1551596#M35568</link>
      <description>&lt;P&gt;Hello Jilani,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for pointing out my mistake!&lt;BR /&gt;&lt;BR /&gt;I corrected them but still the output of&amp;nbsp; variable y, which is supposed to be the output is still all zeroes. I've tried your code and the output variable is still all zeroes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The problem is not solved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In your modified code, you print out the variable&amp;nbsp; VSL_STATUS_OK, which always seems to show 0.&lt;BR /&gt;In my original code, I had printed out the '&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable after calls to&amp;nbsp;vslsconvnewtask,&amp;nbsp;vslconvsetstart,&amp;nbsp;vslconvsetinternalprecision &amp;amp;&amp;nbsp;vslsconvexec.&amp;nbsp;&lt;BR /&gt;In my original code, it showed an error code -2312 after calling&amp;nbsp;vslsconvexec.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now if I modify your code to print only&amp;nbsp;the '&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable 4 times, as tested earlier. I get an error code -2311 after&amp;nbsp;calling&amp;nbsp;vslsconvexec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I don't understand why. I also don't find the list of error codes anywhere in the documentation or on the Intel website.&amp;nbsp;&lt;BR /&gt;Could you please help me understand what is this&amp;nbsp;'&lt;SPAN&gt;stat&amp;nbsp;&lt;/SPAN&gt;' return variable used for, if output status is checked only with VSL_STATUS_OK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have commented out the lines where the two input matrices are also printed. That could mislead one into thinking the output is ok. Instead I'm printing out only the output matrix y, &amp;amp; the the 'stat' return variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached your code, with minor changes and the console output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 19:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1551596#M35568</guid>
      <dc:creator>hari_muc</dc:creator>
      <dc:date>2023-12-07T19:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1553866#M35605</link>
      <description>&lt;P&gt;Hi Srihari Srinivasan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; After updating the stride value from [1, 1] to [1, n], for example update the stat " convolve_2D_example_CodeChanges.f90 "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Following the adjustment of the stride value from [1, 1] to [1, n], there is no observation of zeros Matrix. Please find attached log report "Output_log.txt" .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; I have commented out the lines where the two input matrices are also printed. That could mislead one into thinking the output is ok. Instead I'm printing out only the output matrix y, &amp;amp; the the 'stat' return variable. " convolve_2D_example_CodeChanges_v1.f90 " .&lt;/P&gt;
&lt;P&gt;We executed the "convolve_2D_example_CodeChanges_v1.f90" and examined the resulting output. It does not display zeros for the matrix Y. Please find attached log report " Output_log_v1.txt "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; I've attached your code, with minor changes and the console output .&lt;/P&gt;
&lt;P&gt;I have checked the contents of (console_output.txt), and it indicates that Matrix y contains zeros. However, in our execution, we are not observing zeros in Matrix y. Please refer " Output_log_v1.txt ". Please review both the attached reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try to run the "Intel oneAPI command prompt for Intel 64 for Visual Studio 2022" command prompt .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below Developer Reference link for stride parameters.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2024-0/vslconvnewtaskx-vslcorrnewtaskx.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2024-0/vslconvnewtaskx-vslcorrnewtaskx.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jilani&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:45:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1553866#M35605</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-14T08:45:38Z</dc:date>
    </item>
    <item>
      <title>Re:MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1556204#M35648</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update? Has the information provided successfully resolved your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Dec 2023 07:06:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1556204#M35648</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-21T07:06:17Z</dc:date>
    </item>
    <item>
      <title>Re:MKL VSL 2D Convolution - Wrong answer with no error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1557702#M35673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update? Has the information provided successfully resolved your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2023 06:11:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-2D-Convolution-Wrong-answer-with-no-error-message/m-p/1557702#M35673</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-27T06:11:17Z</dc:date>
    </item>
  </channel>
</rss>

