diff options
author | Michael Bien <[email protected]> | 2010-03-01 02:37:16 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-01 02:37:16 +0100 |
commit | 85a5c5f455aec2062f12d1a4c0a1a3c10beeefb7 (patch) | |
tree | 659759b91f9b0c7992dd6dfedbd45fe385d331cb /src/com | |
parent | 04fac379b2bb5876b21d047294bd3e029e6ebe3c (diff) |
moved bitonic sort into seperate package.
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/mbien/opencl/demos/bitonicsort/BitonicSort.cl (renamed from src/com/mbien/opencl/demos/sort/BitonicSort.cl) | 0 | ||||
-rw-r--r-- | src/com/mbien/opencl/demos/bitonicsort/BitonicSort.java (renamed from src/com/mbien/opencl/demos/sort/BitonicSort.java) | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/mbien/opencl/demos/sort/BitonicSort.cl b/src/com/mbien/opencl/demos/bitonicsort/BitonicSort.cl index a8d0e1d..a8d0e1d 100644 --- a/src/com/mbien/opencl/demos/sort/BitonicSort.cl +++ b/src/com/mbien/opencl/demos/bitonicsort/BitonicSort.cl diff --git a/src/com/mbien/opencl/demos/sort/BitonicSort.java b/src/com/mbien/opencl/demos/bitonicsort/BitonicSort.java index 207ad1e..ed5b32e 100644 --- a/src/com/mbien/opencl/demos/sort/BitonicSort.java +++ b/src/com/mbien/opencl/demos/bitonicsort/BitonicSort.java @@ -1,7 +1,7 @@ /* * 18:42 Saturday, February 27 2010 */ -package com.mbien.opencl.demos.sort; +package com.mbien.opencl.demos.bitonicsort; import com.mbien.opencl.CLBuffer; import com.mbien.opencl.CLCommandQueue; @@ -37,7 +37,7 @@ public class BitonicSort { final int sortDir = 1; final int elements = 1048576; - final int maxvalue = 100000; + final int maxvalue = 1000000; out.println("Initializing OpenCL..."); @@ -76,7 +76,7 @@ public class BitonicSort { out.println(currentTimeMillis() - time+"ms"); IntBuffer keys = keyBuffer.getBuffer(); - printSnapshot(keys, 10); + printSnapshot(keys, 20); checkIfSorted(keys); out.println("\nTEST PASSED"); |