Skip to content

Commit

Permalink
remove un-needed -k parameter from samples
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed May 31, 2019
1 parent a6d38d4 commit 0fe7813
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/benchmark/run_benchmark1.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
..\..\bin\mcxcl.exe -A -f benchmark1.json -b 0 -k ..\..\src\mcx_core.cl %*
..\..\bin\mcxcl.exe -A -f benchmark1.json -b 0 %*
2 changes: 1 addition & 1 deletion example/benchmark/run_benchmark2.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
..\..\bin\mcxcl.exe -A -f benchmark1.json -b 1 -P '{"Shapes":[{"Sphere": {"Tag":2, "O":[30,30,30],"R":15}}]}' -s benchmark2 -k ..\..\src\mcx_core.cl %*
..\..\bin\mcxcl.exe -A -f benchmark1.json -b 1 -P '{"Shapes":[{"Sphere": {"Tag":2, "O":[30,30,30],"R":15}}]}' -s benchmark2 %*
2 changes: 1 addition & 1 deletion example/benchmark/run_benchmark3.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
..\..\bin\mcxcl.exe -A -f benchmark3.json -b 1 -s benchmark3 -k ..\..\src\mcx_core.cl %*
..\..\bin\mcxcl.exe -A -f benchmark3.json -b 1 -s benchmark3 %*
2 changes: 1 addition & 1 deletion src/mcx_core.cl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static float rand_uniform01(__private RandType t[RAND_BUF_LEN]){
return xorshift128p_nextf(t);
}

static void xorshift128p_seed (__global uint *seed,RandType t[RAND_BUF_LEN]){
static void xorshift128p_seed (__global uint *seed, __private RandType t[RAND_BUF_LEN]){
t[0] = (ulong)seed[0] << 32 | seed[1] ;
t[1] = (ulong)seed[2] << 32 | seed[3];
}
Expand Down

0 comments on commit 0fe7813

Please sign in to comment.