{"id":27362893,"url":"https://github.com/ahmadrafidev/learn-cuda","last_synced_at":"2025-04-13T03:57:21.638Z","repository":{"id":238671017,"uuid":"797023180","full_name":"ahmadrafidev/learn-cuda","owner":"ahmadrafidev","description":"A place where I learn about CUDA","archived":false,"fork":false,"pushed_at":"2024-06-05T05:03:36.000Z","size":1017,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T03:57:21.331Z","etag":null,"topics":["cuda","cuda-programming","gpu","os","parallel-programming"],"latest_commit_sha":null,"homepage":"","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmadrafidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-07T03:49:07.000Z","updated_at":"2024-06-05T05:03:39.000Z","dependencies_parsed_at":"2024-06-05T04:48:06.386Z","dependency_job_id":"72ca640d-e1c7-4c74-95db-87c61c4e0c32","html_url":"https://github.com/ahmadrafidev/learn-cuda","commit_stats":null,"previous_names":["ahmadrafidev/learn-cuda"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadrafidev%2Flearn-cuda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadrafidev%2Flearn-cuda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadrafidev%2Flearn-cuda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadrafidev%2Flearn-cuda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadrafidev","download_url":"https://codeload.github.com/ahmadrafidev/learn-cuda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661707,"owners_count":21141450,"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":["cuda","cuda-programming","gpu","os","parallel-programming"],"created_at":"2025-04-13T03:57:20.882Z","updated_at":"2025-04-13T03:57:21.630Z","avatar_url":"https://github.com/ahmadrafidev.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parallel Programming Source Code\n\nA place where I learn about CUDA 🐎\n\n## Introduction\n\nThis repository contains implementations of Parallel Jacobi Iteration and Gauss-Seidel Iteration using CUDA. These methods are used to solve systems of linear equations and are optimized to run on NVIDIA GPUs.\n\n## Prerequisites\n\nTo compile and run these programs, you need:\n\n- An NVIDIA GPU with CUDA support\n- CUDA Toolkit installed\n- A C++ compiler (e.g., `g++` or `nvcc`)\n\n## Compilation\n\n### Jacobi Iteration\n\nTo compile the Jacobi Iteration program, use the following command:\n\n```bash\nnvcc -o jacobi jacobi.cu\n```\n\n### Gauss-Seidel Iteration\n\nTo compile the Gauss-Seidel Iteration program, use the following command:\n\n```bash\nnvcc -o gauss_seidel gauss_seidel.cu\n```\n\n## Running the Programs\n\n### Jacobi Iteration\n\nTo run the Jacobi Iteration program, use the following command:\n\n```bash\n./jacobi \u003cmatrix_size\u003e\n```\n\nReplace \u003cmatrix_size\u003e with the size of the matrix you want to use. For example, to run with a 32x32 matrix:\n\n```bash\n./jacobi 32\n```\n\n### Gauss-Seidel Iteration\n\nTo run the Gauss-Seidel Iteration program, use the following command:\n\n```bash\n./gauss_seidel \u003cmatrix_size\u003e\n```\n\nReplace \u003cmatrix_size\u003e with the size of the matrix you want to use. For example, to run with a 64x64 matrix:\n\n```bash\n./gauss_seidel 64\n```\n\n## Example Output\n![Gauss Seidel 16](\u003cScreenshot 2024-06-05 at 11.40.14.png\u003e) \n![Gauss Seidel 32](\u003cScreenshot 2024-06-05 at 11.40.29.png\u003e) \n![Gauss Seidel 64](\u003cScreenshot 2024-06-05 at 11.41.11.png\u003e)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadrafidev%2Flearn-cuda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadrafidev%2Flearn-cuda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadrafidev%2Flearn-cuda/lists"}