{"id":25932358,"url":"https://github.com/eugenehp/gpu-fft","last_synced_at":"2025-06-19T17:40:15.892Z","repository":{"id":280079946,"uuid":"940929394","full_name":"eugenehp/gpu-fft","owner":"eugenehp","description":"GPU based FFT written in Rust and CubeCL","archived":false,"fork":false,"pushed_at":"2025-06-11T06:36:05.000Z","size":66,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T07:41:42.028Z","etag":null,"topics":["cubecl","fft","gpu","kernel","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gpu-fft","language":"Rust","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/eugenehp.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,"zenodo":null}},"created_at":"2025-03-01T04:35:32.000Z","updated_at":"2025-06-11T06:36:08.000Z","dependencies_parsed_at":"2025-06-11T07:29:18.877Z","dependency_job_id":"54f23046-50d5-43d1-b8b4-e96d70c7904b","html_url":"https://github.com/eugenehp/gpu-fft","commit_stats":null,"previous_names":["eugenehp/gpu-fft"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eugenehp/gpu-fft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Fgpu-fft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Fgpu-fft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Fgpu-fft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Fgpu-fft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugenehp","download_url":"https://codeload.github.com/eugenehp/gpu-fft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Fgpu-fft/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260797696,"owners_count":23064841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cubecl","fft","gpu","kernel","rust"],"created_at":"2025-03-04T00:37:00.313Z","updated_at":"2025-06-19T17:40:10.867Z","avatar_url":"https://github.com/eugenehp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPU-FFT\n\nThis project demonstrates the use of the `gpu_fft` library in Rust to perform Fast Fourier Transform (FFT) and Inverse Fast Fourier Transform (IFFT) on a generated sine wave signal. The application calculates the dominant frequencies in the signal and prints them along with their power.\n\n## Table of Contents\n\n- [Features](#features)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n\n## Features\n\n- Generate a sine wave signal.\n- Perform FFT to analyze the frequency components of the signal.\n- Calculate the Power Spectral Density (PSD).\n- Identify and print the dominant frequencies in the signal.\n- Perform IFFT to reconstruct the original signal.\n\n## Roadmap\n\n- [ ] Add twiddles algorithm\n\n## Requirements\n\n- Rust (1.84.1 or later)\n- `gpu_fft` crate\n\n## Installation\n\n```base\ncargo add gpu_fft -F wgpu\n```\n\n## Usage\n\nTo run the application, use the following command:\n\n```bash\ncargo run --example simple\n```\n\nThe program will generate a sine wave with a specified frequency and sample rate, perform FFT, and print the dominant frequencies along with their power.\n\n### Example Output\n\n```\n====================\n    Input with frequency - 10 Hz\n====================\n1000000 [0.0, 0.06279052, 0.12533323, 0.18738133, 0.2486899, 0.309017, 0.36812457, 0.4257793, 0.4817537, 0.5358268]..\n====================\n    FFT 3.7933425s\n====================\nFrequency: 10.00 Hz, Power: 249999.38\nFrequency: 958.99 Hz, Power: 122.58\nFrequency: 990.00 Hz, Power: 247388.88\n====================\n    IFFT 4.030771s\n====================\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](/LICENSE) file for details.\n\n## Copyright\n\n©️ 2025, Eugene Hauptmann","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenehp%2Fgpu-fft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugenehp%2Fgpu-fft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenehp%2Fgpu-fft/lists"}