{"id":25274590,"url":"https://github.com/xkevio/cuda-raytracer","last_synced_at":"2025-08-25T21:02:15.846Z","repository":{"id":151905344,"uuid":"336843004","full_name":"xkevio/CUDA-Raytracer","owner":"xkevio","description":"A simple ray tracer written with CUDA that saves its output in a .ppm file, CPU version included for reference.","archived":false,"fork":false,"pushed_at":"2023-01-04T22:00:56.000Z","size":993,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T09:16:15.060Z","etag":null,"topics":["cpu","cuda","cuda-raytracer","gpu"],"latest_commit_sha":null,"homepage":"","language":"Cuda","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/xkevio.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":"2021-02-07T17:12:41.000Z","updated_at":"2022-07-09T15:43:01.000Z","dependencies_parsed_at":"2023-05-28T00:45:45.233Z","dependency_job_id":null,"html_url":"https://github.com/xkevio/CUDA-Raytracer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xkevio/CUDA-Raytracer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkevio%2FCUDA-Raytracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkevio%2FCUDA-Raytracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkevio%2FCUDA-Raytracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkevio%2FCUDA-Raytracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xkevio","download_url":"https://codeload.github.com/xkevio/CUDA-Raytracer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkevio%2FCUDA-Raytracer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272131742,"owners_count":24878986,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["cpu","cuda","cuda-raytracer","gpu"],"created_at":"2025-02-12T14:31:13.553Z","updated_at":"2025-08-25T21:02:15.834Z","avatar_url":"https://github.com/xkevio.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUDA-Raytracer\nA simple ray tracer written with CUDA that saves its output in a .ppm file, CPU version included for reference. Below, you can find the rendered image and a performance analysis.\n\nThis was made as a final project for the GPU programming course at Otto-von-Guericke University Magdeburg.\n\n## The Render\nThe code currently generates the following image, though it does support more spheres and light sources:\n\n![3 spheres](images/img.png)\n\n## Performance Analysis\n### CPU version (serial vs parallel):\n\u003e Note: In the diagrams I used the german spelling of \"serial\"\n\n![serial](images/CPU%20\\(seriell,%20with%20-O2\\)%20@%204%20Spheres.png)\n\n![parallel](images/CPU%20\\(OpenMP,%20with%20-O2\\)%20@%204%20Spheres.png)\n\n### GPU version:\n![gpu4spheres](images/GPU%20@%204%20Spheres.png)\n\n\u003e Direct comparison with the parallel CPU version:\n\n![cpuvsgpu](images/CPU%20vs%20GPU%20\\(4%20Spheres\\).png)\n\n### CPU vs GPU Direct comparison with more than 4 spheres:\n\u003e Note: The time axis is shown on a logarithmic scale\n\n![all](images/GPU%20@%202048x2048%20und%20CPU%20\\(OpenMP,%20-O2\\)%20@%202048x2048.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkevio%2Fcuda-raytracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxkevio%2Fcuda-raytracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkevio%2Fcuda-raytracer/lists"}