mixbench
A GPU benchmark tool for evaluating GPUs and CPUs on mixed operational intensity kernels (CUDA, OpenCL, HIP, SYCL, OpenMP)
File Explorer
Download Latest Version (.zip)- common.h
- timestamp.h
- CMakeLists.txt
- Dockerfile
- main.cpp
- mix_kernels_cpu.cpp
- mix_kernels_cpu.h
- README.md
- CMakeLists.txt
- lcutil.h
- main-cuda.cpp
- mix_kernels_cuda.cu
- mix_kernels_cuda.h
- README.md
- CMakeLists.txt
- lhiputil.h
- main-hip.cpp
- mix_kernels_hip.cpp
- mix_kernels_hip.h
- README.md
- check-half2-def.cpp
- CMakeLists.txt
- loclutil.h
- main-ocl.cpp
- mix_kernels.cl
- mix_kernels_ocl.cpp
- mix_kernels_ocl.h
- README.md
- CMakeLists.txt
- lsyclutil.h
- main-sycl.cpp
- mix_kernels_sycl.cpp
- mix_kernels_sycl.h
- README.md
- .clang-format
- .gitattributes
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/ekondis/mixbench
Downloads the entire project code from GitHub to your computer.
cd mixbench
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f mixbench-cpu/Dockerfile -t mixbench .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 mixbench
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. CMake
MediumPrerequisites
cmake ../mixbench-opencl
Analyzes the source code and generates build configuration files (must be run inside the build folder).
cmake --build ./
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
