mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix MWC test
This commit is contained in:
parent
72ca02032a
commit
a12714f4c4
@ -72,7 +72,7 @@ class MWCTest(HunkOCode):
|
|||||||
__global__ void test_mwc(mwc_st *msts, uint64_t *sums, float nrounds) {
|
__global__ void test_mwc(mwc_st *msts, uint64_t *sums, float nrounds) {
|
||||||
mwc_st rctx = msts[gtid()];
|
mwc_st rctx = msts[gtid()];
|
||||||
uint64_t sum = 0;
|
uint64_t sum = 0;
|
||||||
for (float i = 0; i < nrounds; i++) sum += mwc_next(&rctx);
|
for (float i = 0; i < nrounds; i++) sum += mwc_next(rctx);
|
||||||
sums[gtid()] = sum;
|
sums[gtid()] = sum;
|
||||||
msts[gtid()] = rctx;
|
msts[gtid()] = rctx;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user