Skip to content
Snippets Groups Projects
Commit 62f25c0c authored by Adrian Pope's avatar Adrian Pope
Browse files

fixing potential bug with iteration variable names

parent 3814b646
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ template <typename T> void bench(std::string precision, const int outer_iter, co
#pragma omp target update to(Aptr[0 : globalWI])
MPI_Barrier(MPI_COMM_WORLD);
const double l_start = omp_get_wtime();
for (int64_t j = 0; j < inner_iter; j++) {
for (int64_t k = 0; k < inner_iter; k++) {
#pragma omp target teams distribute parallel for
for (int64_t i = 0; i < globalWI; i++) {
T x = Aptr[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment