nivaldo wrote:hello, I am a student of engineering in computer information sciences and for some days I'm trying to figure out how to parallelize this code, maybe someone can help me
hjnln wrote:try this !!
array= new int[n+1];
#pragma omp parallel for num_threads(the number of core)
for(int i=n-1 ; i>=0 ; i--)
nivaldo wrote:sorry, I'm learning OpenMP on my own, and wanted to see an example.
Users browsing this forum: Google [Bot] and 2 guests