Open main menu

CDOT Wiki β

Changes

GPU621/Intel oneMKL - Math Kernel Library

23 bytes added, 01:09, 1 December 2021
MKL Testing
serial version<br />
<pre>
clock_t startTime = clock();
for (i = 0; i < m; i++) {
}
clock_t endTime = clock();
</pre>
<br />
MKL version<br />
Used to set the number of threads that MKL runs, mkl_set_num_threads(). <br />
<pre>
max_threads = mkl_get_max_threads();
printf(" Finding max number %d of threads Intel(R) MKL can use for parallel runs \n\n", max_threads);
}
s_elapsed = (dsecnd() - s_initial) / LOOP_COUNT;
</pre>
https://raw.githubusercontent.com/MenglinWu9527/m3u/main/mkl.jpeg
37
edits