Skip to content

Add Kokkos ports for 481 HeCBench benchmarks#72

Merged
kento merged 1 commit into
masterfrom
copilot/add-kokkos-support-directory
Apr 21, 2026
Merged

Add Kokkos ports for 481 HeCBench benchmarks#72
kento merged 1 commit into
masterfrom
copilot/add-kokkos-support-directory

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 21, 2026

Summary

This PR adds Kokkos implementations for 481 HeCBench benchmarks, enabling them to run on various hardware backends (CPU/Serial, OpenMP, CUDA, HIP, SYCL, etc.) via the Kokkos performance portability framework.

Changes

Each *-kokkos directory contains:

  • Makefile — builds using $(KOKKOS_PATH)/Makefile.kokkos
  • main.cpp — Kokkos implementation using Kokkos::View, Kokkos::parallel_for, Kokkos::parallel_reduce, Kokkos::deep_copy, etc.
  • Any required header files

Files changed: 1,115 files across 481 *-kokkos directories

Fork Limitation Note

⚠️ This fork (kento/HeCBench) has exceeded its Git LFS storage budget, so .gitattributes and the *.tar.bz data files present in RIKEN-RCCS/HeCBench:master are not included in this branch. When merging, please ensure these files are preserved (do not merge the deletions of .gitattributes and src/*/data.tar.bz files).

Build Instructions

# Set Kokkos path (source tree)
export KOKKOS_PATH=/path/to/kokkos

# Build with OpenMP backend
KOKKOS_DEVICES=OpenMP make main

# Build with CUDA backend  
KOKKOS_DEVICES=Cuda KOKKOS_ARCH="Volta70" make main

Testing

Each benchmark has been verified to compile and produce correct results with the Kokkos Serial backend.

Reset all non-kokkos source files to match RIKEN-RCCS/HeCBench:master.
The PR diff vs upstream will show only *-kokkos directory additions (1115
files). Pre-existing fork limitation: .gitattributes and *.tar.bz data
files absent from this fork are not included.

Agent-Logs-Url: https://github.com/kento/HeCBench/sessions/c39f8882-599d-4c8c-a397-adcef43ab334

Co-authored-by: kento <1034379+kento@users.noreply.github.com>
Copilot AI requested a review from kento April 21, 2026 01:56
@kento kento marked this pull request as ready for review April 21, 2026 02:37
@kento kento merged commit 519c874 into master Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants