<?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 Hi Chris, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999406#M18437</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;I created a simple C# example which constructs linear spline using Data Fitting component of Intel MKL. Please, have a look and let me know, if it helps.&lt;/P&gt;

&lt;P&gt;Andrey&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2015 10:38:50 GMT</pubDate>
    <dc:creator>Andrey_N_Intel</dc:creator>
    <dc:date>2015-10-07T10:38:50Z</dc:date>
    <item>
      <title>Call dfsNewTask1D from C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999403#M18434</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I'm trying to get the spline functionality to work in C#. I don't seem to know what to put in place for the DFTaskPtr. I can see it's a void pointer in the mkl_df_types.h file, but I don't know how to translate that to C#.&lt;/P&gt;

&lt;P&gt;I naively did the following:&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;    [SuppressUnmanagedCodeSecurity]
    internal sealed class MklNative
    {
        [DllImport("mkl_rt.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, SetLastError = false)]
        internal static extern int dfsNewTask1D(ref IntPtr task, int nx, double[] x, int xhint, int ny, double[] y, int yhint);
    }&lt;/PRE&gt;

&lt;P&gt;Which doesn't work. Any help would be welcome.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 20:38:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999403#M18434</guid>
      <dc:creator>Chris_S_1</dc:creator>
      <dc:date>2015-10-01T20:38:20Z</dc:date>
    </item>
    <item>
      <title>there is no such example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999404#M18435</link>
      <description>&lt;P&gt;there is no such example ready to show - you may look at this&amp;nbsp;https://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program KB article and see some C#examples.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 07:46:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999404#M18435</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-10-02T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Those examples don't show</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999405#M18436</link>
      <description>&lt;P&gt;Those examples don't show what to do about the void pointer DFTaskPtr, which is the problem. I don't need a full example, just need to know the proper field to put in the place when making the extern call.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:51:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999405#M18436</guid>
      <dc:creator>Chris_S_1</dc:creator>
      <dc:date>2015-10-02T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999406#M18437</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;I created a simple C# example which constructs linear spline using Data Fitting component of Intel MKL. Please, have a look and let me know, if it helps.&lt;/P&gt;

&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 10:38:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-dfsNewTask1D-from-C/m-p/999406#M18437</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2015-10-07T10:38:50Z</dc:date>
    </item>
  </channel>
</rss>

