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

What is the unit of workspace query?

$
0
0

For the scalapack, when I set the lwork = -1, I can get a result from work[0].

For example, the work[0] == 900000000.

So the lwork = 900000000. 

How about the length of work? is it  lwork * sizeof(double), or just lwork?

should I use work = new double[900000000] or work = (double *)malloc(900000000)?


Viewing all articles
Browse latest Browse all 3005

Trending Articles



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