<?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 MKL_INT vs size_t in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779951#M1388</link>
    <description>Hi Mecej4,&lt;BR /&gt;Fair enough. But then, the suggestion of typedef-ing MKL_INT is really of no use, if not misleading.&lt;BR /&gt;There are other examples (csrmultcsr, is one of them), where no negative integers are used, and if one tries &lt;BR /&gt;to use size_t will get nonsense (wasted a few hours with it ).&lt;BR /&gt;I understand the binary layout issue - indicated it in my initial request, where I mentioned it was a far shot.&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;Petros</description>
    <pubDate>Tue, 03 Apr 2012 04:19:08 GMT</pubDate>
    <dc:creator>Petros_Mamales</dc:creator>
    <dc:date>2012-04-03T04:19:08Z</dc:date>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779944#M1381</link>
      <description>Hi,&lt;BR /&gt;I understand that the answer is 99.99% going to be negative, but for whatever it's worth:&lt;BR /&gt;Is there a way to use size_t instead of MKL_INT ? (like the way one can overwrite the MKL_Complex8 by std::complex&lt;FLOAT&gt;).&lt;BR /&gt;Any C/C++ structure that will describe some (sparse) matrix, will index with size_t rather than with int (and its variations). For non-sparse matrices where only the matrix dimension are the integers one uses, things are largely OK.&lt;BR /&gt;But for the sparse compressed format matrices, there is always a danger that the size of the integer array elements will be casted erroneously.&lt;BR /&gt;(Not to mention all the warning messages the compiler will emit because of the missmatch).&lt;BR /&gt;Any suggestions? ideas/workarounds? Maybe an option in a future mkl release? (yes I can imagine the binary layout issue, but, maybe another little flag ? ;-)) )&lt;BR /&gt;TIA,&lt;BR /&gt;Petros&lt;BR /&gt;ps: although looking for a portable solution, using msvc2010 on win7 with 64bit builds.&lt;/FLOAT&gt;</description>
      <pubDate>Sun, 01 Apr 2012 20:37:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779944#M1381</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-01T20:37:01Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779945#M1382</link>
      <description>Hello Petros,&lt;BR /&gt;&lt;BR /&gt;Please, have a look at the article that describes use of Intel MKL in C++ applications.&lt;BR /&gt;In particular, it covers the topic ofMKL_INT and size_t data types. The article is available at &lt;A href="http://software.intel.com/en-us/articles/use-of-intel-mkl-data-types-in-cc-applications/"&gt;http://software.intel.com/en-us/articles/use-of-intel-mkl-data-types-in-cc-applications/&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Please, let us know if this addresses your question.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Andrey&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2012 06:21:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779945#M1382</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2012-04-02T06:21:23Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779946#M1383</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please read the corresponding MKL article: &lt;A href="http://software.intel.com/en-us/articles/use-of-intel-mkl-data-types-in-cc-applications/?wapkw=mkl_int+size_t+software.intel.com"&gt;http://software.intel.com/en-us/articles/use-of-intel-mkl-data-types-in-cc-applications/?wapkw=mkl_int+size_t+software.intel.com&lt;/A&gt;</description>
      <pubDate>Mon, 02 Apr 2012 06:25:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779946#M1383</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2012-04-02T06:25:54Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779947#M1384</link>
      <description>Hi Andrey/Victor,&lt;BR /&gt;Yes it does !! (was right to "gamble the 0.01% ;-)))&lt;BR /&gt;Thank you very much,&lt;BR /&gt;Petros</description>
      <pubDate>Mon, 02 Apr 2012 12:21:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779947#M1384</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-02T12:21:03Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779948#M1385</link>
      <description>[cpp]#include &lt;IOSTREAM&gt;
using namespace std;
#define MKL_INT int
#include &lt;MKL.H&gt;
#include &lt;MKL_SPBLAS.H&gt;

int main() {
/*
	m:	5 X 5
		1		*		1.1		*		*
		*		2		*		*		*
		3.1		*		3		3.14	*
		*		*		*		4		2.17
		*		*		5.1		*		5
*/

	MKL_INT ia[ 6 ] ;	
	ia[0] = 1 ;
	ia[1] = 3 ;
	ia[2] = 4 ;
	ia[3] = 7 ;
	ia[4] = 9 ;
	ia[5] = 11 ;
	MKL_INT ja[ 10 ] ;
	ja[0] = 1 ;
	ja[1] = 3 ;
	ja[2] = 2 ;
	ja[3] = 1 ;
	ja[4] = 3 ;
	ja[5] = 4 ;
	ja[6] = 4 ;
	ja[7] = 5 ;
	ja[8] = 3 ;
	ja[9] = 5 ;
	double values[ 10 ] ;
	values[0] = 1E0 ;
	values[1] = 1.1E0 ;
	values[2] = 2E0 ;
	values[3] = 3.1E0 ;
	values[4] = 3E0 ;
	values[5] = 3.14E0 ;
	values[6] = 4E0 ;
	values[7] = 2.17E0 ;
	values[8] = 5.1E0 ;
	values[9] = 5E0 ;

	MKL_INT m = 5 ;
	MKL_INT n = 5 ;
	MKL_INT gelda = 5 ;

	MKL_INT job[6] ;
	job[0] = 1; 
	job[1] = 0;	
	job[2] = 1;
	job[3] = 2;
	job[4] = 10;
	job[5] = 1;

	double * gedata = new double[ gelda * n ];

	MKL_INT info = 0;
	 mkl_ddnscsr( job,
				&amp;amp;m, &amp;amp;n,
				gedata, &amp;amp;gelda,
				values, ja, ia, 
				&amp;amp;info ) ;

	 for ( size_t i = 0; i != 5; ++i ){
		 for ( size_t j = 0; j != 5; ++j )
			 cout &amp;lt;&amp;lt; gedata[i*gelda + j] &amp;lt;&amp;lt; "t";
		 cout &amp;lt;&amp;lt; endl ;
	 }
	 return 1;
}&lt;BR /&gt;[/cpp] Hi Victor/Andrey,&lt;BR /&gt;I am afraid that then there are a few problems here..&lt;BR /&gt;Take for example the mkl_?csrdia (or any function that contains diagonal sparse format).&lt;BR /&gt;The distance vector (counting the distance from the diagonal) can have either sgn.&lt;BR /&gt;However defining MKL_INT as size_t does not accomodate for it !! There should be a different type for the&lt;BR /&gt;distance vector elements, in order that MKL_INT can be defined as size_t.&lt;BR /&gt;Also, converting from csr to dense is less than perfect as the above example shows.&lt;BR /&gt;If instead of :&lt;BR /&gt;[cpp]#define MKL_INT int
[/cpp]I use:&lt;BR /&gt;[cpp]#define MKL_INT size_t
[/cpp]I get the (very!!!) erroneous output.&lt;BR /&gt;&lt;BR /&gt;What to do ?&lt;BR /&gt;Any workarounds?&lt;BR /&gt;TIA,&lt;BR /&gt;Petros&lt;BR /&gt;&lt;BR /&gt;PS: Using mkl10.3.8 with vs2010 on win7&lt;BR /&gt;The 2 outputs:&lt;BR /&gt;int&lt;BR /&gt;1 0 1.1 0 0&lt;BR /&gt;0 2 0 0 0&lt;BR /&gt;3.1 0 3 3.14 0&lt;BR /&gt;0 0 0 4 2.17&lt;BR /&gt;0 0 5.1 0 5&lt;BR /&gt;&lt;BR /&gt;vs. (size_t)&lt;BR /&gt;0 -6.27744e+066 -6.27744e+066 -6.27744e+066 -6.27744e+066&lt;BR /&gt;1.1 1 -6.27744e+066 2 -6.27744e+066&lt;BR /&gt;0 0 0 -6.27744e+066 -6.27744e+066&lt;BR /&gt;3.1 1 0 2 -6.27744e+066&lt;BR /&gt;0 0 0 0 0&lt;BR /&gt;&lt;/MKL_SPBLAS.H&gt;&lt;/MKL.H&gt;&lt;/IOSTREAM&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:28:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779948#M1385</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-02T15:28:16Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779949#M1386</link>
      <description>As the article in #2 declares,&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt; ... the user can use types that can be "binary compatible", that is, having the same 
representation or memory layout.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;DIV id="art_pre_template"&gt;&lt;I&gt; An example of correct redefinition&lt;/I&gt;&lt;I&gt; of MKL_INT &lt;/I&gt;&lt;I&gt;for ILP64 &lt;/I&gt;&lt;I&gt;&lt;B&gt;if positive integer values less than 2^63 are used&lt;/B&gt;:&lt;/I&gt;&lt;/DIV&gt;&lt;I&gt;
#define MKL_INT size_t&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;One point that you may have overlooked is that redefining MKL_INT with a preprocessor &lt;B&gt;#define&lt;/B&gt; or using a &lt;B&gt;-D&lt;/B&gt; compiler option &lt;SPAN style="text-decoration: underline;"&gt;affects only your code and not MKL, since the latter is already compiled.&lt;/SPAN&gt; If you do anything to your code that violates the requirement of binary compatibility, you will probably obtain incorrect answers or program aborts.&lt;BR /&gt;&lt;BR /&gt;By using negative values for a variable declared to be of type &lt;B&gt;size_t&lt;/B&gt;, you broke the rules, and this warning&lt;I&gt;/&lt;/I&gt;disclaimer in the article applies:&lt;BR /&gt;&lt;I&gt;&lt;B&gt;&lt;BR /&gt; It is the user's responsibility to make a thorough analysis of such cases before redefining data types in Intel MKL.&lt;/B&gt;&lt;/I&gt;</description>
      <pubDate>Tue, 03 Apr 2012 01:28:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779949#M1386</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-04-03T01:28:58Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779950#M1387</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Hi Petros,&lt;BR /&gt;&lt;BR /&gt;Quoting &lt;A jquery1333419472750="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=473684" href="https://community.intel.com/en-us/profile/473684/" class="basic"&gt;Petros Mamales&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;DIV class="dp-highlighter"&gt;&lt;DIV class="bar"&gt;&lt;DIV class="tools"&gt;I get the (very!!!) erroneous output.&lt;BR /&gt;&lt;BR /&gt;What to do ?&lt;BR /&gt;Any workarounds?&lt;BR /&gt;TIA,&lt;BR /&gt;Petros&lt;BR /&gt;&lt;BR /&gt;PS: Using mkl10.3.8 with vs2010 on win7&lt;BR /&gt;The 2 outputs:&lt;BR /&gt;int&lt;BR /&gt;1 0 1.1 0 0&lt;BR /&gt;0 2 0 0 0&lt;BR /&gt;3.1 0 3 3.14 0&lt;BR /&gt;0 0 0 4 2.17&lt;BR /&gt;0 0 5.1 0 5&lt;BR /&gt;&lt;BR /&gt;vs. (size_t)&lt;BR /&gt;0 -6.27744e+066 -6.27744e+066 -6.27744e+066 -6.27744e+066&lt;BR /&gt;1.1 1 -6.27744e+066 2 -6.27744e+066&lt;BR /&gt;0 0 0 -6.27744e+066 -6.27744e+066&lt;BR /&gt;3.1 1 0 2 -6.27744e+066&lt;BR /&gt;0 0 0 0 0&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Did you try toverify sizes of &lt;STRONG&gt;MKL_INT&lt;/STRONG&gt; ( &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; re-defined with your macro! ) and &lt;STRONG&gt;size_t&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; &lt;STRONG&gt;printf&lt;/STRONG&gt;( "&lt;STRONG&gt;MKL_INT&lt;/STRONG&gt;: %ld\n&lt;STRONG&gt;size_t&lt;/STRONG&gt;: %ld\n", sizeof( &lt;STRONG&gt;MKL_INT&lt;/STRONG&gt; ), sizeof( &lt;STRONG&gt;size_t&lt;/STRONG&gt; ));&lt;BR /&gt; ...&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2012 02:27:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779950#M1387</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-04-03T02:27:03Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779951#M1388</link>
      <description>Hi Mecej4,&lt;BR /&gt;Fair enough. But then, the suggestion of typedef-ing MKL_INT is really of no use, if not misleading.&lt;BR /&gt;There are other examples (csrmultcsr, is one of them), where no negative integers are used, and if one tries &lt;BR /&gt;to use size_t will get nonsense (wasted a few hours with it ).&lt;BR /&gt;I understand the binary layout issue - indicated it in my initial request, where I mentioned it was a far shot.&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;Petros</description>
      <pubDate>Tue, 03 Apr 2012 04:19:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779951#M1388</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-03T04:19:08Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779952#M1389</link>
      <description>Hi Sergey,&lt;BR /&gt;Thank you for the suggestion. My editor, informs me of the definition of the types.&lt;BR /&gt;However, it is a good think to have in mind.&lt;BR /&gt;Thank you, again,&lt;BR /&gt;Petros</description>
      <pubDate>Tue, 03 Apr 2012 04:20:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779952#M1389</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-03T04:20:48Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779953#M1390</link>
      <description>Hi Petros,&lt;BR /&gt;&lt;BR /&gt;Here areexamples of declarationsof '&lt;STRONG&gt;size_t&lt;/STRONG&gt;'and '&lt;STRONG&gt;MKL_INT&lt;/STRONG&gt;' for 32-bit and 64-bit platforms:&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; #ifdef _WIN64&lt;BR /&gt; typedef unsigned __int64 size_t;&lt;BR /&gt; #else&lt;BR /&gt; typedefunsigned int size_t;&lt;BR /&gt; #endif&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; #if defined ( MKL_ILP64 )&lt;BR /&gt; #define MKL_INT long long int /* 64 bit integer for large arrays. */&lt;BR /&gt; #else&lt;BR /&gt; #define MKL_INT int /* 32 bit integer for arrays &amp;lt; 2^31-1 elements. */&lt;BR /&gt; #endif&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;If by some reason a32-bittype'&lt;STRONG&gt;int&lt;/STRONG&gt;' wasn't used inyour second test it is possible thatyou're dealing with overflowof somevalues and&lt;BR /&gt;that is whythe output is wrong.&lt;BR /&gt;&lt;BR /&gt;What are results of your verifications for '&lt;STRONG&gt;size_t&lt;/STRONG&gt;' and '&lt;STRONG&gt;MKL_INT&lt;/STRONG&gt;' types?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2012 04:50:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779953#M1390</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-04-03T04:50:37Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779954#M1391</link>
      <description>Hi Sergey,&lt;BR /&gt;When defining MKL_INT as int they are 4 (MKL_INT) and 8 (size_t) .&lt;BR /&gt;When MKL_INT is defined as size_t they are both 8.&lt;BR /&gt;&lt;BR /&gt;Btw, can you please confirm that ddnscsr delivers a dense matrix in C-format (i.e. row-storage) ?&lt;BR /&gt;&lt;BR /&gt;Thank you for all your help,&lt;BR /&gt;Petros&lt;BR /&gt;&lt;BR /&gt;ps: Since the compressed sparse format uses arrays of integers, having ones with different element size than MKL_INT is a bad idea. Given this, it is hard to imagine a situation, for those matrices, where defining MKL as size_t would ever be safe.</description>
      <pubDate>Tue, 03 Apr 2012 06:15:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779954#M1391</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-03T06:15:48Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779955#M1392</link>
      <description>Hi Petros,&lt;BR /&gt;&lt;BR /&gt;MKL_INT data type is 8 byteswhen youuse Intel MKL inILP64 mode, and 4 bytes, otherwise (additional details about ILP64 and LP64 modes are available in Intel MKL User Guide, section "Using the ILP64 Interface vs. LP64 Interface").&lt;BR /&gt;size_t type is8 bytes for _WIN64, and4 bytes, otherwise(in my version of MSVS2008 the definition of the size_t is in crtdefs.h).&lt;BR /&gt;&lt;BR /&gt;So, when mapping MKL_INTinto size_t on Intel 64 CPUs, please make sureto specify ILP64 modeby defining -DMKL_INT64 and link against Intel Math Kernel Library inILP64 mode (mkl_intel_ilp64.lib,... for static linking).&lt;BR /&gt;&lt;BR /&gt;I took your example, modified it as described in the article&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;#define MKL_INT size_t&lt;BR /&gt;#include &lt;MKL.H&gt;&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;and built it using the command&lt;BR /&gt;icl -DMKL_ILP64 testcase.cpp mkl_intel_ilp64.lib mkl_core.lib mkl_intel_thread.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;The output of the example is&lt;/MKL.H&gt;&lt;/P&gt;&lt;P&gt;1 0 1.1 0 0 &lt;/P&gt;&lt;P&gt;0 2 0 0 0 &lt;/P&gt;&lt;P&gt;3.1 0 3 3.14 0 &lt;/P&gt;&lt;P&gt;0 0 0 4 2.17 &lt;/P&gt;&lt;P&gt;0 0 5.1 0 5 &lt;/P&gt;I have the same outputwith native MKL_INT.&lt;BR /&gt;Please, let me knowif this helps to resolve theissues on your side.&lt;BR /&gt;&lt;BR /&gt;Answering another your question: ddnscsr converter does not deliver a dense matrix in C-format; it delivers the matrix in Fortran format (column-major storage) using0-based indexing scheme.&lt;BR /&gt;&lt;BR /&gt;Please, feel free to ask more questions if any.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2012 08:18:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779955#M1392</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2012-04-03T08:18:10Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779956#M1393</link>
      <description>Hi Andrey,&lt;BR /&gt;Thank you very much for your response.&lt;BR /&gt;In the example I enclosed, the indexing of gedata is done in the row-storage format (C-style) for the&lt;BR /&gt;dense matrix:&lt;BR /&gt;cout&amp;lt;&lt;GEDATA&gt;&lt;/GEDATA&gt;i.e. consecutive rows (i's) are gelda apart (this is a square matrix).&lt;BR /&gt;This rather looks like that it is in C-format. Am I missing something ?&lt;BR /&gt;&lt;BR /&gt;For the rest, I have to delve into the user's guide, some more. Since I am writting plugg-ins for Excel/Python, I am not sure I can go LP64. Have to investigate.&lt;BR /&gt;At any rate, this integer mess turns out to be much more involved than I anticipated - and very likely for a good reason.&lt;BR /&gt;&lt;BR /&gt;Thank you again for all your help,&lt;BR /&gt;Petros&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2012 17:52:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779956#M1393</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-03T17:52:02Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779957#M1394</link>
      <description>Hi Petros,&lt;BR /&gt;&lt;BR /&gt;I double-checkedyour question on the format with the engineer responsible for that functionality, andhe confirms that the converter can return a dense matrix in row-major (that is, C) format.&lt;BR /&gt;&lt;BR /&gt;Can you please provide a bit more details, so we would be able to better understandthe reasons,why you can'tlink against ILP64 interface of Intel MKL (and which would help you to correctly re-define MKL_INT with size_t data type as described in myprevious post)?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Andrey&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2012 12:46:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779957#M1394</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2012-04-04T12:46:32Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779958#M1395</link>
      <description>Hi Andrey,&lt;BR /&gt;Thank you for the reconfirmation.&lt;BR /&gt;As far as the LP64 issue, I did not say it is not possible. All I mean to say is that it requires further investigationon my part, that is not of the moment - as I commented I was expected the issue to be more light-weight.&lt;BR /&gt;Thank you very much for all your help,&lt;BR /&gt;Petros</description>
      <pubDate>Thu, 05 Apr 2012 16:38:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779958#M1395</guid>
      <dc:creator>Petros_Mamales</dc:creator>
      <dc:date>2012-04-05T16:38:34Z</dc:date>
    </item>
    <item>
      <title>MKL_INT vs size_t</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779959#M1396</link>
      <description>Hi Petros,&lt;BR /&gt;Please, let us know the results of the investigations on your side when ready. It would help us to understand ifthe question of MKL_INT/size_t is properly addressed, or ourfurther helpis necessary.&lt;BR /&gt;Best,&lt;BR /&gt;Andrey</description>
      <pubDate>Fri, 06 Apr 2012 05:54:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-INT-vs-size-t/m-p/779959#M1396</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2012-04-06T05:54:58Z</dc:date>
    </item>
  </channel>
</rss>

