We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283bfd4 commit 05b0b6fCopy full SHA for 05b0b6f
.github/workflows/benchmark.yml
@@ -6,7 +6,7 @@ on:
6
7
jobs:
8
master-benchmark:
9
- name: Benchmark
+ name: Benchmark Master
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v2
src/field/Field.h
@@ -128,10 +128,7 @@ class Field {
128
auto rhs_data = rhs.data;
129
#pragma acc parallel loop independent present(this->data[:m_size], rhs_data[:m_size]) async
130
for (size_t i = 0; i < m_size; ++i) {
131
- this->data[i] *= rhs_data[i] * rhs_data[i];
132
- }
133
- for (size_t i = 0; i < m_size; ++i) {
134
- this->data[i] /= rhs_data[i];
+ this->data[i] *= rhs_data[i];
135
}
136
#pragma acc wait
137
return *this;
0 commit comments