Andrea Gussoni 846e980370 Converted tabs to spaces and fixed indentation há 8 anos atrás
..
Makefile 292b5a814e Restored optimization há 7 anos atrás
README 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
cluster.c 846e980370 Converted tabs to spaces and fixed indentation há 7 anos atrás
getopt.c 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
getopt.h 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
kmeans.cl 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
kmeans.cpp 846e980370 Converted tabs to spaces and fixed indentation há 7 anos atrás
kmeans.h 846e980370 Converted tabs to spaces and fixed indentation há 7 anos atrás
kmeans_clustering.c 846e980370 Converted tabs to spaces and fixed indentation há 7 anos atrás
read_input.c 846e980370 Converted tabs to spaces and fixed indentation há 7 anos atrás
rmse.c 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
run 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás
run-cpu a9ef5b8ea8 Implemented device selection for kmeans há 7 anos atrás
run-gpu a9ef5b8ea8 Implemented device selection for kmeans há 7 anos atrás
run-gpu-primary 1056d3aaa2 Added run script for the secondary GPU há 7 anos atrás
run-gpu-secondary 1056d3aaa2 Added run script for the secondary GPU há 7 anos atrás
unistd.h 1f1ceb7172 Initialized repo with Rodinia 3.1 há 8 anos atrás

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"