Removing OpenMP from unit tests (#163)

[ROCm/rccl commit: 000bce6f27]
此提交包含在:
gilbertlee-amd authored and GitHub committed 2019-12-20 11:41:56 -07:00
1 父節點 a461b6d139
當前提交 71635198b8
11 file changed
+14 -28

No files matched your search

+2 -3
查看文件
@@ -5,7 +5,6 @@
************************************************************************/
#include "test_Broadcast.hpp"
#include <omp.h>
namespace CorrectnessTests
{
@@ -25,7 +24,7 @@ namespace CorrectnessTests
ComputeExpectedResults(dataset, root);
// Launch the reduction (1 thread per GPU)
#pragma omp parallel for num_threads(numDevices)
ncclGroupStart();
for (int i = 0; i < numDevices; i++)
{
ncclBroadcast(dataset.inputs[i],
@@ -33,7 +32,7 @@ namespace CorrectnessTests
numElements, dataType,
root, comms[i], streams[i]);
}
ncclGroupEnd();
// Wait for reduction to complete
Synchronize();