Andrea Gussoni a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
..
Makefile 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
README 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
cluster.c a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
getopt.c 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
getopt.h 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
kmeans.cl 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
kmeans.cpp a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
kmeans.h a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
kmeans_clustering.c a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
read_input.c a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
rmse.c 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
run 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago
run-cpu a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
run-gpu a9ef5b8ea8 Implemented device selection for kmeans 8 years ago
unistd.h 1f1ceb7172 Initialized repo with Rodinia 3.1 8 years ago

README

NOTE: The current Kmeans implementation doesn't use texture/constant memories, and is different from the CUDA implementation.

******Adjustable work group size*****
RD_WG_SIZE_0 or RD_WG_SIZE_0_0 for kernel_swap
RD_WG_SIZE_1 or RD_WG_SIZE_1_0 for kernel_kmeans

USAGE:
make clean
make KERNEL_DIM="-DRD_WG_SIZE_0=128 -DRD_WG_SIZE_1=512"