fix double consumption of rng on cpu
Signed-off-by: raver119 <raver119@gmail.com>master
parent
0e05cba2f9
commit
106524663b
|
@ -162,9 +162,6 @@ namespace functions {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update rng state
|
||||
rng->rewindH(length);
|
||||
};
|
||||
|
||||
|
||||
|
@ -223,8 +220,6 @@ namespace functions {
|
|||
}
|
||||
}
|
||||
}
|
||||
// update rng state
|
||||
rng->rewindH(length);
|
||||
}
|
||||
|
||||
|
||||
|
@ -256,9 +251,6 @@ namespace functions {
|
|||
z[offset] = OpClass::op(i+threadOffset, length, rng, extraArguments);
|
||||
}
|
||||
}
|
||||
|
||||
// update rng state
|
||||
rng->rewindH(length);
|
||||
}
|
||||
|
||||
template<typename X>
|
||||
|
|
Loading…
Reference in New Issue