- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi YonyR, I just tested your code. It returns 0 that completed successfully. Very strange, if it returns -1009 that means you get error on bad Y hint, invalid flag describing the structure of function y.
Could you make sure the 'mN=8'? Maybe you could also set xhint as DF_NO_HINT, and watch if the result still get an error with -1009. Could you please tell me the version of MKL you used for your projects and your developing environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Major version: 11
Minor version: 3
Update version: 3
Product status: Product
Build: 20160413
Platform: Intel(R) 64 architecture
Processor optimization: Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors
================================================================
dfsNewTask1D's status == 0
================================================================
here is results with the latest 11.3 u3 version.
please check this version of MKL or let us the comprehensive example of this case which we may investigate on our side.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page