Andrea Gussoni 0c1775db38 Added run script for the secondary GPU %!s(int64=8) %!d(string=hai) anos
..
Makefile 5a672cd323 Restored optimization %!s(int64=8) %!d(string=hai) anos
README 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
cluster.c 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
getopt.c 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
getopt.h 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
kmeans.cl 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
kmeans.cpp 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
kmeans.h 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
kmeans_clustering.c 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
read_input.c 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
rmse.c 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
run 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos
run-cpu 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
run-gpu 4a6eb60579 Implemented device selection for kmeans %!s(int64=8) %!d(string=hai) anos
run-gpu-primary 0c1775db38 Added run script for the secondary GPU %!s(int64=8) %!d(string=hai) anos
run-gpu-secondary 0c1775db38 Added run script for the secondary GPU %!s(int64=8) %!d(string=hai) anos
unistd.h 1f1ceb7172 Initialized repo with Rodinia 3.1 %!s(int64=8) %!d(string=hai) anos

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"