Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

dfsNewTask1D returning error (-1009)

$
0
0

Hello everybody,

I am trying to execute the data fitting example (from the help)

Here is the code:

         /* Create a Data Fitting task */

        DFTaskPtr task;

        MKL_INT N = 8;
        const float xx[] = {38.0f, 39.0f, 40.0f, 41.0f,
                            46.0f, 47.0f, 48.0f, 49.0f};
        
        const float yy[] = {38.0f*38.0f, 39.0f*39.0f, 40.0f*40.0f, 41.0f*41.0f,
                            46.0f*46.0f, 47.0f*47.0f, 48.0f*48.0f, 49.0f*49.0f};

        status = dfsNewTask1D(&task, mN, xx, DF_NON_UNIFORM_PARTITION, 1, yy, DF_NO_HINT);

Can anybody explain why dfsNewTask1D returning -1009? (problem with DF_NO_HINT?)

I just installed evaluation (today), trying to check the performance of the spline method comparing it with the implementation we have today...

Best Regards and Thanks in advance for any help...

Yony Ribalsky

Zone: 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 3005


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>