{"id":15047304,"url":"https://github.com/sahil-rajwar-2004/vector-cuda","last_synced_at":"2025-05-15T21:34:02.064Z","repository":{"id":245744974,"uuid":"819110827","full_name":"Sahil-Rajwar-2004/vector-CUDA","owner":"Sahil-Rajwar-2004","description":"vector calculation with GPU acceleration using CUDA","archived":false,"fork":false,"pushed_at":"2024-06-24T15:10:55.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T16:41:01.113Z","etag":null,"topics":["c","cpp11","cuda","cuda-kernels","cuda-programming","nvcc"],"latest_commit_sha":null,"homepage":"","language":null,"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/Sahil-Rajwar-2004.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}},"created_at":"2024-06-23T20:07:17.000Z","updated_at":"2024-06-24T15:10:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"087868e4-d47b-4d24-9066-70ff9651fc73","html_url":"https://github.com/Sahil-Rajwar-2004/vector-CUDA","commit_stats":null,"previous_names":["sahil-rajwar-2004/vector-cuda"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil-Rajwar-2004%2Fvector-CUDA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil-Rajwar-2004%2Fvector-CUDA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil-Rajwar-2004%2Fvector-CUDA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil-Rajwar-2004%2Fvector-CUDA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sahil-Rajwar-2004","download_url":"https://codeload.github.com/Sahil-Rajwar-2004/vector-CUDA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225379704,"owners_count":17465204,"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":["c","cpp11","cuda","cuda-kernels","cuda-programming","nvcc"],"created_at":"2024-09-24T20:56:19.198Z","updated_at":"2024-11-19T15:37:04.821Z","avatar_url":"https://github.com/Sahil-Rajwar-2004.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vector calculation in C++ with GPU acceleration using CUDA\n\n## Requirements\n- GPU (obvious)\n- nvcc compiler\n- C++/C compiler\n\n```cu\n#include \u003ciostream\u003e\n#include \u003cvector_cuda.cu\u003e\nusing namespace std;\n\nint main(){\n    Vector vec1(1,2,3);\n    Vector vec2(2,3,4);\n\n    Vector add = vec1.add(vec2);\n    Vector sub = vec1.sub(vec2);\n\n    add.print();\n    sub.print();\n}\n```\n\n```bash\nvector: (3, 5, 7)\nvector: (-1, -1, -1)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil-rajwar-2004%2Fvector-cuda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahil-rajwar-2004%2Fvector-cuda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil-rajwar-2004%2Fvector-cuda/lists"}