- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all!
I'm creating a library of computational functions that are to be called bydifferent applications and I need some advice on how to handle errors in MKL.
Shouldn't LAPACKE_zgels return an integer !=0if something goes wrong? I got an error today when calling zgels, butit didn't return any integer like I thought it would!
What is the recommended way to handle errors in MKL functions? Do they throw exceptions? If so, where do I find them?
Best regards,
Matt [c++ & MKL newbie]
I'm creating a library of computational functions that are to be called bydifferent applications and I need some advice on how to handle errors in MKL.
Shouldn't LAPACKE_zgels return an integer !=0if something goes wrong? I got an error today when calling zgels, butit didn't return any integer like I thought it would!
What is the recommended way to handle errors in MKL functions? Do they throw exceptions? If so, where do I find them?
Best regards,
Matt [c++ & MKL newbie]
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Matt,
LAPACKE_* interfaces returns value whichcorresponds to output parameter INFO of a wrapped function. Additionally the return value could represent two memory allocation errors, which could happen in the wrappers itself: LAPACK_WORK_MEMORY_ERROR and LAPACK_TRANSPOSE_MEMORY_ERROR. Both values defined in mkl_lapacke.h. There is no exception throwing/handling mechanism in MKL.
W.B.R.,
Alexaner
LAPACKE_* interfaces returns value whichcorresponds to output parameter INFO of a wrapped function. Additionally the return value could represent two memory allocation errors, which could happen in the wrappers itself: LAPACK_WORK_MEMORY_ERROR and LAPACK_TRANSPOSE_MEMORY_ERROR. Both values defined in mkl_lapacke.h. There is no exception throwing/handling mechanism in MKL.
W.B.R.,
Alexaner
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page