Skip to content

Project for Parallel Computing course. Sequential and parallel implementations of K-Means algorithm in C++ with OpenMP and CUDA.

License

Notifications You must be signed in to change notification settings

elia-mercatanti/parallel-k-means

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel K-Means - Parallel Computing Project

Project for Parallel Computing course. Sequential and parallel implementations of K-Means algorithm in C++ with OpenMP and CUDA. The sequential K-Means version is compared with two parallel versions, tests include execution times and the speedup of each version.

More information can be found in the report of the project: Report.

Installation

  1. Clone the repo.
git clone https://github.com/elia-mercatanti/parallel-k-means
  1. Build with CMake.

Usage

  • For testing K-Means algorithm with all implementations to search clusters on a dataset, pass two arguments:
parallel_kmeans <dataset file path> <number of clusters>
  • For generating random datasets according to global variables, pass no arguments:
parallel_kmeans <>

Authors

License

Licensed under the term of MIT License.

About

Project for Parallel Computing course. Sequential and parallel implementations of K-Means algorithm in C++ with OpenMP and CUDA.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages