agregar bitonicsort for a power of 2

This commit is contained in:
2018-11-16 14:37:39 -03:00
parent 67aab5f842
commit a91f3e2b59
5 changed files with 85 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ CC=gcc
CFLAGS=-Wall -I../src/include -DDEBUG -g
SRC=test.c
OBJ=$(SRC:.c=.o)
OBJ+=../src/random.o ../src/bubble_sort.o ../src/timer.o ../src/count_sort.o ../src/quick_sort.o
OBJ+=../src/random.o ../src/bubble_sort.o ../src/timer.o ../src/count_sort.o ../src/quick_sort.o ../src/bitonic_sort.o ../src/selection_sort.o
all: test

View File

@@ -51,7 +51,7 @@ void cleanup() {
* El programa de test
*/
int main(int argc, char **argv) {
int n = 50000;
int n = 65536;
int i;
int gen;
int pass;