<?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 Ipp 8.1 INTEL_PLATFORM definition for 64 bit application in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-8-1-INTEL-PLATFORM-definition-for-64-bit-application/m-p/959037#M19474</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I ran in some trouble after Ipp 8.1 upgrade.&lt;/P&gt;

&lt;P&gt;INTEL_PLATFORM definition in ippdefs.h is :&lt;/P&gt;

&lt;P&gt;#ifdef _WIN32&lt;BR /&gt;
	#define _INTEL_PLATFORM "ia32/"&lt;BR /&gt;
	#else&lt;BR /&gt;
	#define _INTEL_PLATFORM "intel64/"&lt;BR /&gt;
	#endif&lt;/P&gt;

&lt;P&gt;But for&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;microsoft C++ compiler&amp;nbsp;&lt;/SPAN&gt;_WIN32 &amp;nbsp;is defined for 64 bit application too as documented here&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700;"&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/b0084kay.aspx"&gt;http://msdn.microsoft.com/en-us/library/b0084kay.aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;TABLE style="font-size: 12.800000190734863px; width: 826.4000244140625px;"&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;_WIN32&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;Defined for applications for Win32 and Win64. Always defined.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;_WIN64&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;Defined for applications for Win64&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;When I try to compile a 64 bit application the wrong path is selected.&lt;/P&gt;

&lt;P&gt;I use this&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;workaround&lt;/SPAN&gt;&amp;nbsp;including ipp.h&lt;/P&gt;

&lt;P&gt;#pragma push_macro ("_WIN32")&lt;BR /&gt;
	#if defined ( _WIN64 )&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;#undef _WIN32&lt;BR /&gt;
	#endif&lt;BR /&gt;
	#include &amp;lt;ipp.h&amp;gt;&lt;BR /&gt;
	#pragma pop_macro ("_WIN32")&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;&amp;nbsp;I'm missing something?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2014 06:58:41 GMT</pubDate>
    <dc:creator>giacomo_c_</dc:creator>
    <dc:date>2014-03-25T06:58:41Z</dc:date>
    <item>
      <title>Ipp 8.1 INTEL_PLATFORM definition for 64 bit application</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-8-1-INTEL-PLATFORM-definition-for-64-bit-application/m-p/959037#M19474</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I ran in some trouble after Ipp 8.1 upgrade.&lt;/P&gt;

&lt;P&gt;INTEL_PLATFORM definition in ippdefs.h is :&lt;/P&gt;

&lt;P&gt;#ifdef _WIN32&lt;BR /&gt;
	#define _INTEL_PLATFORM "ia32/"&lt;BR /&gt;
	#else&lt;BR /&gt;
	#define _INTEL_PLATFORM "intel64/"&lt;BR /&gt;
	#endif&lt;/P&gt;

&lt;P&gt;But for&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;microsoft C++ compiler&amp;nbsp;&lt;/SPAN&gt;_WIN32 &amp;nbsp;is defined for 64 bit application too as documented here&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700;"&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/b0084kay.aspx"&gt;http://msdn.microsoft.com/en-us/library/b0084kay.aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;TABLE style="font-size: 12.800000190734863px; width: 826.4000244140625px;"&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;_WIN32&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;Defined for applications for Win32 and Win64. Always defined.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;_WIN64&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;Defined for applications for Win64&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;When I try to compile a 64 bit application the wrong path is selected.&lt;/P&gt;

&lt;P&gt;I use this&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;workaround&lt;/SPAN&gt;&amp;nbsp;including ipp.h&lt;/P&gt;

&lt;P&gt;#pragma push_macro ("_WIN32")&lt;BR /&gt;
	#if defined ( _WIN64 )&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;#undef _WIN32&lt;BR /&gt;
	#endif&lt;BR /&gt;
	#include &amp;lt;ipp.h&amp;gt;&lt;BR /&gt;
	#pragma pop_macro ("_WIN32")&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;&amp;nbsp;I'm missing something?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 06:58:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-8-1-INTEL-PLATFORM-definition-for-64-bit-application/m-p/959037#M19474</guid>
      <dc:creator>giacomo_c_</dc:creator>
      <dc:date>2014-03-25T06:58:41Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-8-1-INTEL-PLATFORM-definition-for-64-bit-application/m-p/959038#M19475</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Thanks for reporting.&amp;nbsp; Right, it is bug in IPP. We will fix the problem in next release.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
	Ying&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 03:58:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-8-1-INTEL-PLATFORM-definition-for-64-bit-application/m-p/959038#M19475</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-03-27T03:58:08Z</dc:date>
    </item>
  </channel>
</rss>

