Removing OpenMP from unit tests (#163)

[ROCm/rccl commit: 000bce6f27]
Αυτή η υποβολή περιλαμβάνεται σε:
gilbertlee-amd
2019-12-20 11:41:56 -07:00
υποβλήθηκε από GitHub
γονέας a461b6d139
υποβολή 71635198b8
11 αρχεία άλλαξαν με 14 προσθήκες και 28 διαγραφές
@@ -5,7 +5,6 @@
************************************************************************/
#include "test_AllReduce.hpp"
#include <omp.h>
namespace CorrectnessTests
{
@@ -20,12 +19,13 @@ namespace CorrectnessTests
ComputeExpectedResults(dataset, op);
// Launch the reduction (1 thread per GPU)
#pragma omp parallel for num_threads(numDevices)
ncclGroupStart();
for (int i = 0; i < numDevices; i++)
{
ncclAllReduce(dataset.inputs[i], dataset.outputs[i],
numElements, dataType, op, comms[i], streams[i]);
}
ncclGroupEnd();
// Wait for reduction to complete
Synchronize();