diff --git a/stim/cuda/kmeans.cuh b/stim/cuda/kmeans.cuh index f5a56bd..3263bc3 100644 --- a/stim/cuda/kmeans.cuh +++ b/stim/cuda/kmeans.cuh @@ -1,3 +1,16 @@ +//This software is dervied from Professor Wei-keng Liao's parallel k-means +//clustering code obtained on November 21, 2010 from +// http://users.eecs.northwestern.edu/~wkliao/Kmeans/index.html +//(http://users.eecs.northwestern.edu/~wkliao/Kmeans/simple_kmeans.tar.gz). +// +//With his permission, Serban Giuroiu is publishing his CUDA implementation based on his code +//under the open-source MIT license. See the LICENSE file for more details. + +// The original code can be found on Github ( https://github.com/serban/kmeans ) +// Here I have just made a few changes to get it to work + + + #define malloc2D(name, xDim, yDim, type) do { \ name = (type **)malloc(xDim * sizeof(type *)); \ -- libgit2 0.21.4