Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Get/Set Threads isn't working, using Intel IPP RadixIndex

$
0
0

I can set the number of OpenMP threads and it works for "omp parallel for"
ippGetNumThreads always returns 1 though. 
ippSetNumThreads(8) reports "No operation has been exacuted"

Not sure how to successfully set the threads. Or if setting the thread count higher will make ippsSortRadixIndexAscend_8u run with multiple threads. 
 

        omp_set_dynamic(0);
	omp_set_num_threads(8);

	int threads = 0;
	ippGetNumThreads(&threads);
	wprintf(L"ippGetNumThreads %d\n", threads);
	IppStatus errorTh = ippSetNumThreads(8);
	printf("-- warning %d, %s\n", errorTh, ippGetStatusString( errorTh ));
	ippGetNumThreads(&threads);
	wprintf(L"ippGetNumThreads %d\n", threads);

Thanks, 

Greg


Viewing all articles
Browse latest Browse all 1489

Trending Articles



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