{"id":19289793,"url":"https://github.com/ragibson/cuda-k-means","last_synced_at":"2026-06-18T15:32:06.457Z","repository":{"id":143220407,"uuid":"188090771","full_name":"ragibson/CUDA-k-means","owner":"ragibson","description":"An implementation of Lloyd's algorithm for data clustering on GPUs and computational accelerators.","archived":false,"fork":false,"pushed_at":"2019-05-23T19:44:12.000Z","size":1210,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T23:43:45.595Z","etag":null,"topics":["clustering","cuda","gpu","k-means","unsupervised-clustering"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragibson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-22T18:12:37.000Z","updated_at":"2024-09-20T19:33:05.000Z","dependencies_parsed_at":"2023-06-01T21:00:31.823Z","dependency_job_id":null,"html_url":"https://github.com/ragibson/CUDA-k-means","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ragibson/CUDA-k-means","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragibson%2FCUDA-k-means","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragibson%2FCUDA-k-means/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragibson%2FCUDA-k-means/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragibson%2FCUDA-k-means/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragibson","download_url":"https://codeload.github.com/ragibson/CUDA-k-means/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragibson%2FCUDA-k-means/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34497231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clustering","cuda","gpu","k-means","unsupervised-clustering"],"created_at":"2024-11-09T22:17:11.580Z","updated_at":"2026-06-18T15:32:06.428Z","avatar_url":"https://github.com/ragibson.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUDA-k-means\n\nThis repository contains three main implementation of Lloyd's k-means\nalgorithm:\n\n* [kmeans_cpu.c](kmeans_cpu.c): A k-means implementation for use on a single\nCPU core.\n* [kmeans_gpu.cu](kmeans_gpu.cu): A k-means implementation for use on CUDA\nGPUs.\n* [kmeans_atomic.cu](kmeans_atomic.cu): A k-means implementation for use on\nCUDA GPUs, using atomic operations (for comparison purposes).\n\nIn terms of \"number of cluster updates per second\", these programs\npeak at\n\n* [kmeans_cpu.c](kmeans_cpu.c): ~950 million computations per second\n* [kmeans_gpu.cu](kmeans_gpu.cu): ~65 billion computations per second\n* [kmeans_atomic.cu](kmeans_atomic.cu): ~575 billion computations per second\n(though this is only feasible for a large number of clusters)\n\non a system with an E5-2650v3 CPU and TITAN V GPU.\n\nA (significantly) more detailed performance analysis can be read\n[here](report/report.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragibson%2Fcuda-k-means","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragibson%2Fcuda-k-means","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragibson%2Fcuda-k-means/lists"}