Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22268

Why calling LAPACK ilaenv in C with the same parameter will sometimes obtain different return?

$
0
0

I used a docker container on M1 MacBook Pro with ubuntu 18.04 and ran a C program. In the main function I call ilaenv to check the block size for LAPACK routine DGETRF with size 1000*1000. The function returned 64 as a reasonable block size. But in the main function I also call another function written by myself and it involves a single ilaenv call with the same parameter, but when I printed it I found out that the function just returned block size = 1, which confuses me a lot.


Viewing all articles
Browse latest Browse all 22268

Latest Images

Trending Articles



Latest Images

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