Lines 290-296
Link Here
|
290 |
std::unique_ptr<ReturnType[]> threadData; |
290 |
std::unique_ptr<ReturnType[]> threadData; |
291 |
|
291 |
|
292 |
VTKM_OPENMP_DIRECTIVE(parallel default(none) firstprivate(f) |
292 |
VTKM_OPENMP_DIRECTIVE(parallel default(none) firstprivate(f) |
293 |
shared(data, doParallel, numThreads, threadData)) |
293 |
shared(data, doParallel, numThreads, threadData, numVals)) |
294 |
{ |
294 |
{ |
295 |
|
295 |
|
296 |
int tid = omp_get_thread_num(); |
296 |
int tid = omp_get_thread_num(); |
Lines 422-428
Link Here
|
422 |
vtkm::Id outIdx = 0; |
422 |
vtkm::Id outIdx = 0; |
423 |
|
423 |
|
424 |
VTKM_OPENMP_DIRECTIVE(parallel default(none) firstprivate(keysIn, valuesIn, keysOut, valuesOut, f) |
424 |
VTKM_OPENMP_DIRECTIVE(parallel default(none) firstprivate(keysIn, valuesIn, keysOut, valuesOut, f) |
425 |
shared(outIdx)) |
425 |
shared(outIdx, numValues)) |
426 |
{ |
426 |
{ |
427 |
int tid = omp_get_thread_num(); |
427 |
int tid = omp_get_thread_num(); |
428 |
int numThreads = omp_get_num_threads(); |
428 |
int numThreads = omp_get_num_threads(); |