{"id":21330355,"url":"https://github.com/minnukota381/cuda-parallel-c-programming","last_synced_at":"2025-06-30T02:07:04.945Z","repository":{"id":208760822,"uuid":"722422625","full_name":"minnukota381/cuda-parallel-c-programming","owner":"minnukota381","description":"This repository contains various CUDA C programs demonstrating parallel computing techniques using NVIDIA's CUDA platform.","archived":false,"fork":false,"pushed_at":"2024-09-13T14:56:39.000Z","size":20,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T20:54:25.379Z","etag":null,"topics":["cuda","cuda-programming","hpc","nvcc","nvidia"],"latest_commit_sha":null,"homepage":"","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minnukota381.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":"2023-11-23T05:40:28.000Z","updated_at":"2024-09-28T19:39:23.000Z","dependencies_parsed_at":"2023-11-23T06:42:40.894Z","dependency_job_id":"39082172-49e3-42b5-b822-b5f1640e5d94","html_url":"https://github.com/minnukota381/cuda-parallel-c-programming","commit_stats":null,"previous_names":["minnukota381/hpc_cuda_c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/minnukota381/cuda-parallel-c-programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fcuda-parallel-c-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fcuda-parallel-c-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fcuda-parallel-c-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fcuda-parallel-c-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minnukota381","download_url":"https://codeload.github.com/minnukota381/cuda-parallel-c-programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fcuda-parallel-c-programming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697276,"owners_count":23349894,"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","hpc","nvcc","nvidia"],"created_at":"2024-11-21T22:17:35.766Z","updated_at":"2025-06-30T02:07:04.922Z","avatar_url":"https://github.com/minnukota381.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUDA PARALLEL C PROGRAMMING || Minnu\nThis repository contains various CUDA C programs demonstrating parallel computing techniques using NVIDIA's CUDA platform.\n\n## Programs Overview\n\n- **[Addition of Two Numbers](#addition-of-two-numbers)**\n- **[Even or Odd](#even-or-odd)**\n- **[Matrix Multiplication](#matrix-multiplication)**\n- **[Using Threads](#using-threads)**\n\n## Addition of Two Numbers\n\nThis program demonstrates basic addition of two numbers using CUDA kernels.\n\n### Files\n\n- `kernel.cu`: CUDA source file for addition of two numbers.\n\n### Usage\n\n1. **Compile the program:**\n\n   ```bash\n   nvcc kernel.cu -o addition_cuda\n   ```\n\n2. **Run the program:**\n\n   ```bash\n   ./addition_cuda\n   ```\n\n3. **Input:**\n\n   Follow the on-screen instructions to input two integers.\n\n4. **Output:**\n\n   The program will compute the sum using CUDA and display the result.\n\n## Even or Odd\n\nThis program determines if a number is even or odd using CUDA.\n\n### Files\n\n- `kernel.cu`: CUDA source file for even or odd determination.\n\n### Usage\n\n1. **Compile the program:**\n\n   ```bash\n   nvcc kernel.cu -o even_odd_cuda\n   ```\n\n2. **Run the program:**\n\n   ```bash\n   ./even_odd_cuda\n   ```\n\n3. **Input:**\n\n   Enter a number when prompted.\n\n4. **Output:**\n\n   The program will use CUDA to check if the number is even or odd and display the result.\n\n## Matrix Multiplication\n\nThis program performs matrix multiplication using CUDA for parallel computation.\n\n### Files\n\n- `kernel.cu`: CUDA source file for matrix multiplication.\n\n### Usage\n\n1. **Compile the program:**\n\n   ```bash\n   nvcc kernel.cu -o matrix_mult_cuda\n   ```\n\n2. **Run the program:**\n\n   ```bash\n   ./matrix_mult_cuda\n   ```\n\n3. **Input:**\n\n   Adjust the matrix dimensions and values directly in the `kernel.cu` file as needed.\n\n4. **Output:**\n\n   The program will use CUDA to perform matrix multiplication and display the resulting matrix.\n\n## Using Threads\n\nThis program demonstrates CUDA programming with multiple threads.\n\n### Files\n\n- `kernel.cu`: CUDA source file demonstrating thread usage.\n\n### Usage\n\n1. **Compile the program:**\n\n   ```bash\n   nvcc kernel.cu -o threads_cuda\n   ```\n\n2. **Run the program:**\n\n   ```bash\n   ./threads_cuda\n   ```\n\n3. **Input/Output:**\n\n   Follow the specific instructions provided within the `kernel.cu` file for thread management and usage.\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute to this project, please follow these steps:\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature`)\n3. Make your changes\n4. Commit your changes (`git commit -am 'Add feature'`)\n5. Push to the branch (`git push origin feature`)\n6. Create a new Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminnukota381%2Fcuda-parallel-c-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminnukota381%2Fcuda-parallel-c-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminnukota381%2Fcuda-parallel-c-programming/lists"}