Commit a517b341 by Marcus Winter

dataflow_cpp: fixed cpplint warnings

parent 29acd08a
...@@ -122,7 +122,7 @@ class Process< Slices, Serial, Inputs<Slices, I1, I2, I3, I4, I5>, ...@@ -122,7 +122,7 @@ class Process< Slices, Serial, Inputs<Slices, I1, I2, I3, I4, I5>,
} }
if (clk_res > clk) { if (clk_res > clk) {
if (next_clock_.CompareAndSwap(clk, clk_res)) { if (next_clock_.CompareAndSwap(clk, clk_res)) {
while (queued_clock_.Load() < clk); while (queued_clock_.Load() < clk) continue;
for (int ii = clk; ii < clk_res; ii++) { for (int ii = clk; ii < clk_res; ii++) {
const int idx = ii % Slices; const int idx = ii % Slices;
action_[idx] = Action(this, ii); action_[idx] = Action(this, ii);
......
...@@ -100,7 +100,7 @@ class Sink< Slices, Inputs<Slices, I1, I2, I3, I4, I5> > ...@@ -100,7 +100,7 @@ class Sink< Slices, Inputs<Slices, I1, I2, I3, I4, I5> >
} }
if (clk_res > clk) { if (clk_res > clk) {
if (next_clock_.CompareAndSwap(clk, clk_res)) { if (next_clock_.CompareAndSwap(clk, clk_res)) {
while (queued_clock_.Load() < clk); while (queued_clock_.Load() < clk) continue;
for (int ii = clk; ii < clk_res; ii++) { for (int ii = clk; ii < clk_res; ii++) {
const int idx = ii % Slices; const int idx = ii % Slices;
action_[idx] = Action(this, ii); action_[idx] = Action(this, ii);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment