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

How to generate a fatal exception to test mkl_set_exit_handler

$
0
0

I would like to test my custom handler of fatal errors, but I can't figure out to generate a fatal error :(

I use mkl_set_exit_handler(...) to register my custom handler, but I don't know how to test this. I 'm using the C interface, see https://software.intel.com/en-us/node/522125. Any suggestions are welcome. Generating segmentation faults by out-of-memory-bounds memory accesses (not allocating enough memory) does not seem to trigger the custom handler.


Viewing all articles
Browse latest Browse all 3005

Trending Articles



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