diff --git a/VadereUtils/resources/BitonicSort.cl b/VadereUtils/resources/BitonicSort.cl index 722ebfc8a0881adf1520030b324df62a725da6c7..f7c00dec36dbcdf34377650c209ae18691a76664 100644 --- a/VadereUtils/resources/BitonicSort.cl +++ b/VadereUtils/resources/BitonicSort.cl @@ -9,7 +9,7 @@ * */ -#define LOCAL_SIZE_LIMIT 256U +#define LOCAL_SIZE_LIMIT 16U inline void ComparatorPrivate( uint *keyA, diff --git a/VadereUtils/src/org/vadere/util/opencl/CLBitonicSort.java b/VadereUtils/src/org/vadere/util/opencl/CLBitonicSort.java index b8ac32a08cebf98494abb03145f662b996183a73..422382e2aa126afbed9681ca3af97a2190d0fc54 100644 --- a/VadereUtils/src/org/vadere/util/opencl/CLBitonicSort.java +++ b/VadereUtils/src/org/vadere/util/opencl/CLBitonicSort.java @@ -93,7 +93,7 @@ public class CLBitonicSort { private int[] resultKeys; //Note: logically shared with BitonicSort.cl! - private static final int LOCAL_SIZE_LIMIT = 256; + private static final int LOCAL_SIZE_LIMIT = 16; private boolean debug = false;