{"id":23207927,"url":"https://github.com/pkestene/mandelbrot_kokkos","last_synced_at":"2026-04-27T22:31:35.898Z","repository":{"id":86494682,"uuid":"72786626","full_name":"pkestene/mandelbrot_kokkos","owner":"pkestene","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-10T01:55:12.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T11:41:12.366Z","etag":null,"topics":["cuda","gpu","gpu-computing","kokkos","mandelbrot","openmp","performance-portability"],"latest_commit_sha":null,"homepage":"","language":"C++","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/pkestene.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":"2016-11-03T21:03:27.000Z","updated_at":"2022-10-10T07:07:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6de32d3-9a2a-43ce-820d-2f959dd82bab","html_url":"https://github.com/pkestene/mandelbrot_kokkos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pkestene/mandelbrot_kokkos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fmandelbrot_kokkos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fmandelbrot_kokkos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fmandelbrot_kokkos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fmandelbrot_kokkos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkestene","download_url":"https://codeload.github.com/pkestene/mandelbrot_kokkos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fmandelbrot_kokkos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cuda","gpu","gpu-computing","kokkos","mandelbrot","openmp","performance-portability"],"created_at":"2024-12-18T17:26:37.687Z","updated_at":"2026-04-27T22:31:35.862Z","avatar_url":"https://github.com/pkestene.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"A minimalistic kokkos example to compute Mandelbrot set and illustrate asynchronous memory copy (i.e. overlap between a computationnal functor and a deep copy operation).\n\nThree versions provided:\n\n* basic : Mandelbrot set is computed in a single Kokkos functor. Can be used\n  with either OpenMP or Cuda backend.\n\n* basic_mdrange : same version a basic, just for illustrating the use of Kokkos::Experimental::MDRange\n\n* pipeline0 performs computations piece by piece\n\n* pipeline1 (only meaningfull when used with CUDA+OpenMP) performs computations piece by piece, but the loop over the pieces\n  is parallelized using an OpenMP Kokkos functor, so that the different pieces\n  can be computed in different Cuda streams.\n\n\n# What is kokkos ?\n\nA modern C++ based programming model for HPC applications designed for portability across multiple hardware architectures (multicore, GPU, KNL, Power8, ...) and also providing as efficient as possible performance.\n\n# Build the basic version\n\n0. Need to have installed [kokkos](https://github.com/kokkos/kokkos)\n\n   * Kokkos backend can be CUDA, OpenMP, ...\n   * Compiler can be nvcc_wrapper, g++, xlc++, ...\n\n1. Set env variable KOKKOS_PATH to the root directory where Kokkos is installed\n\n2. cd basic; make\n\n3. run\n\n   ./mandelbrot.omp (or ./mandelbrot.cuda)\n\n\nWith default parameters (image of size 8192x8192), some performance of the basic version:\n * Nvidia K80 : 1.5 seconds \n * Power8 (g++ 4.8.5)\n   * 20  threads : 50.1 seconds\n   * 40  threads : 27.7 seconds\n   * 60  threads : 16.9 seconds\n   * 160 threads : 10.5 seconds\n   \n\nNB: version pipeline1 require kokkos to be configured with both CUDA and OPENMP\nbackends, and lambda function enabled. Example command line configuration:\n\ngenerate_makefile.bash --with-cuda --arch=${YOUR_CUDA_ARCH} --prefix=${SOMEWHERE} --with-cuda-options=enable_lambda --with-openmp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkestene%2Fmandelbrot_kokkos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkestene%2Fmandelbrot_kokkos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkestene%2Fmandelbrot_kokkos/lists"}