<?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: DMIP problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892526#M11697</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/408636"&gt;Sergey Khlystov@Intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;As much as I know the package, there is no static library. There are dmip.dll and static library of exported functions. So, all the functions in dmip.lib are just entry points to the dmip.dll. You'll be definitely requiring the dmip.dll during run. Copy it to the application directory.&lt;BR /&gt;&lt;BR /&gt;Then, regarding MSCRT80.DLL. This is a MS VS2005 run-time DLL library. So, you need VS2005 or higher to go with DMIP. Look into readme file.&lt;BR /&gt;&lt;BR /&gt;And the last, regarding execution time. Your log showed that IPP's CPU dispatcher had taken the V8 library, so, probably, you have a Core2 processor. Tell how many cores do you have (Dual Core, Quad Core?), and, more important, the dimension sizes of your image. The parallelization doesn't give any benefit on small images.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergey&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks Sergey, everything works now,&lt;BR /&gt;Copying dmip-1.0.dll into the application directory helped. You must be right, and there is no static version of dmip.&lt;BR /&gt;&lt;BR /&gt;As for the execution time, I have Core2 Duo @1.5GHz.&lt;BR /&gt;The input image I was using is 187x223 .&lt;BR /&gt;I've also tried a larger image (1200x900) and the DMIP wins now, it is about 2 times faster.&lt;BR /&gt;&lt;BR /&gt;--Andriy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Jun 2009 10:02:05 GMT</pubDate>
    <dc:creator>amyron</dc:creator>
    <dc:date>2009-06-01T10:02:05Z</dc:date>
    <item>
      <title>DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892521#M11692</link>
      <description>I can't compile even the DMIP Harmonizing filter example,&lt;BR /&gt;I'm getting several errors similar to:&lt;BR /&gt;&lt;BR /&gt;error C2065: 'IppC1' : undeclared identifier&lt;BR /&gt;error C2275: 'Ipp8u' : illegal use of this type as an expression&lt;BR /&gt;&lt;BR /&gt;I'm using VC++ 2005 with MS native compiler. My other IPP code (without DMIP)&lt;BR /&gt;works just fine.&lt;BR /&gt;&lt;BR /&gt;Here is what I did to add DMIP:&lt;BR /&gt;1) Included folder %DMIP%\image-processing\dmip\include&lt;BR /&gt;2) Coppied 'dmip.lib' in the IPP folder that is already included in library path&lt;BR /&gt;3) Added to my code&lt;BR /&gt;#include &lt;DMIP.H&gt;&lt;BR /&gt;#pragma comment(lib, "dmip.lib")&lt;BR /&gt;&lt;BR /&gt;PS:I'm trying to link DMIP statically.&lt;BR /&gt;&lt;BR /&gt;The code with only IPP functions compiles and works fine. &lt;BR /&gt;But when I add,e.g.&lt;BR /&gt;&lt;BR /&gt;Ipp8u *inData;&lt;BR /&gt;IppiSize roi, size7x7={7,7};&lt;BR /&gt;int step;&lt;BR /&gt;Image A(inData,Ipp8u,IppC1,roi,step); &lt;BR /&gt;&lt;BR /&gt;Then I'm getting the errors above. I guess my static linking is wrong ??&lt;BR /&gt;&lt;BR /&gt;Please advice,&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Andriy&lt;BR /&gt;&lt;/DMIP.H&gt;</description>
      <pubDate>Thu, 28 May 2009 23:20:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892521#M11692</guid>
      <dc:creator>amyron</dc:creator>
      <dc:date>2009-05-28T23:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892522#M11693</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
Hello,&lt;BR /&gt;&lt;BR /&gt;first of all, let's check if you are able to compile DMIP sample with build scripts which comes with it. If that work, then you most probably have missed something in project settings.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;</description>
      <pubDate>Fri, 29 May 2009 05:59:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892522#M11693</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-05-29T05:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892523#M11694</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hello,&lt;BR /&gt;&lt;BR /&gt;first of all, let's check if you are able to compile DMIP sample with build scripts which comes with it. If that work, then you most probably have missed something in project settings.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
P.S. Why can't I reply to the origin message?&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Your piece of code looks OK. But, try to use low-letters type identifier. I.e. "ippC1" for channel number and "ipp8u" for pixel type. "Ipp8u" is a typedef for "unsigned char", whereas "ipp8u" is an enumerator value.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Fri, 29 May 2009 07:33:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892523#M11694</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2009-05-29T07:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892524#M11695</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/408636"&gt;Sergey Khlystov@Intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Your piece of code looks OK. But, try to use low-letters type identifier. I.e. "ippC1" for channel number and "ipp8u" for pixel type. "Ipp8u" is a typedef for "unsigned char", whereas "ipp8u" is an enumerator value.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks, with the lower case type identifier I can compile the code OK!&lt;BR /&gt;Now, during the executuion I'm getting new errors:&lt;BR /&gt;&lt;BR /&gt;First I've got&lt;BR /&gt;This applicaion has failed to start because msvcr80d.dll was not found. Re-intalling the application may fix this problem.&lt;BR /&gt;(I've googled msvcr80d.dll, and copied in my folder, which solved the error)&lt;BR /&gt;&lt;BR /&gt;Now, I'm getting&lt;BR /&gt;This applicaion has failed to start because dmip-1.0.dll was not found. Re-intalling the application may fix this problem.&lt;BR /&gt;&lt;BR /&gt;I guess, it still wants to have the dynamic library? why? I'm trying to include dmip statically.&lt;BR /&gt;&lt;BR /&gt;Here is my test code of Win32 console program (which gives the error above). Please help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#include "stdafx.h"&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;#include &lt;DMIP.H&gt;&lt;BR /&gt;&lt;BR /&gt;#pragma comment(lib, "dmip.lib")&lt;BR /&gt;#pragma comment(lib, "ippsemerged.lib")&lt;BR /&gt;#pragma comment(lib, "ippsmerged.lib")&lt;BR /&gt;#pragma comment(lib, "ippcorel.lib")&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt;// IPP static initialization &lt;BR /&gt;ippStaticInit();&lt;BR /&gt;&lt;BR /&gt;Ipp8u *inData;&lt;BR /&gt;IppiSize roi, size7x7={7,7};&lt;BR /&gt;int step;&lt;BR /&gt;Image A(inData,ipp8u,ippC1,roi,step);&lt;BR /&gt;&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS: The test build with build32.bat also fails,&lt;BR /&gt;perhaps due to some path missing. &lt;BR /&gt;&lt;BR /&gt; The system cannot find the path specified.&lt;BR /&gt;The system cannot find the path specified.&lt;BR /&gt;'env.bat' is not recognized as an internal or external command,&lt;BR /&gt;operable program or batch file.&lt;BR /&gt;'nmake' is not recognized as an internal or external command,&lt;BR /&gt;operable program or batch file.&lt;BR /&gt;The system cannot find the path specified.&lt;BR /&gt;&lt;BR /&gt;PS2: I've also tried to run dmip_example.exe&lt;BR /&gt;as&lt;BR /&gt;....DMIPimage-processingdmipbinwin32&amp;gt;dmip_example.exe -input=im.bmp -example=2&lt;BR /&gt;Usage:  -input=input bmp file&lt;BR /&gt; -example=0 - brightness, 1 - store, 2 - harmonize, other - sobel&lt;BR /&gt;DMIP 1.0 Dec  8 2008&lt;BR /&gt;ippiv8l.lib 6.0 Update 1 build 167.32 Nov 25 2008&lt;BR /&gt;ippcvv8l.lib 6.0 Update 1 build 167.32 Nov 25 2008&lt;BR /&gt;ippccv8l.lib 6.0 Update 1 build 167.32 Nov 25 2008&lt;BR /&gt;DMIP Harmonize example time 762143184.000000 (clocks) 0.340544 msec&lt;BR /&gt;IPP Harmonize example time 664354152.000000 (clocks) 0.296850 msec&lt;BR /&gt;&lt;BR /&gt;Seems to run Ok, but the example time for DMIP is bigger, why? for other -example=0,1,&lt;BR /&gt;DMIP time is even worse.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Andriy&lt;BR /&gt;&lt;/DMIP.H&gt;</description>
      <pubDate>Fri, 29 May 2009 16:02:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892524#M11695</guid>
      <dc:creator>amyron</dc:creator>
      <dc:date>2009-05-29T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892525#M11696</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As much as I know the package, there is no static library. There are dmip.dll and static library of exported functions. So, all the functions in dmip.lib are just entry points to the dmip.dll. You'll be definitely requiring the dmip.dll during run. Copy it to the application directory.&lt;BR /&gt;&lt;BR /&gt;Then, regarding MSCRT80.DLL. This is a MS VS2005 run-time DLL library. So, you need VS2005 or higher to go with DMIP. Look into readme file.&lt;BR /&gt;&lt;BR /&gt;And the last, regarding execution time. Your log showed that IPP's CPU dispatcher had taken the V8 library, so, probably, you have a Core2 processor. Tell how many cores do you have (Dual Core, Quad Core?), and, more important, the dimension sizes of your image. The parallelization doesn't give any benefit on small images.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergey&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 08:34:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892525#M11696</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2009-06-01T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: DMIP problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892526#M11697</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/408636"&gt;Sergey Khlystov@Intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;As much as I know the package, there is no static library. There are dmip.dll and static library of exported functions. So, all the functions in dmip.lib are just entry points to the dmip.dll. You'll be definitely requiring the dmip.dll during run. Copy it to the application directory.&lt;BR /&gt;&lt;BR /&gt;Then, regarding MSCRT80.DLL. This is a MS VS2005 run-time DLL library. So, you need VS2005 or higher to go with DMIP. Look into readme file.&lt;BR /&gt;&lt;BR /&gt;And the last, regarding execution time. Your log showed that IPP's CPU dispatcher had taken the V8 library, so, probably, you have a Core2 processor. Tell how many cores do you have (Dual Core, Quad Core?), and, more important, the dimension sizes of your image. The parallelization doesn't give any benefit on small images.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergey&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks Sergey, everything works now,&lt;BR /&gt;Copying dmip-1.0.dll into the application directory helped. You must be right, and there is no static version of dmip.&lt;BR /&gt;&lt;BR /&gt;As for the execution time, I have Core2 Duo @1.5GHz.&lt;BR /&gt;The input image I was using is 187x223 .&lt;BR /&gt;I've also tried a larger image (1200x900) and the DMIP wins now, it is about 2 times faster.&lt;BR /&gt;&lt;BR /&gt;--Andriy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 10:02:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DMIP-problem/m-p/892526#M11697</guid>
      <dc:creator>amyron</dc:creator>
      <dc:date>2009-06-01T10:02:05Z</dc:date>
    </item>
  </channel>
</rss>

