Skip to content

Kaweees/KiwiCPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Contributors Forks Stargazers

C++ Logo

A template for creating C++ header-only libraries accelerated with CUDA/Apple Metal

Built With

C++ CUDA Apple NixOS CMake GNU Make Codecov GitHub Actions

Preview

Video demonstration

Getting Started

Prerequisites

Before attempting to build this project, make sure you have Nix with Flake support installed on your machine.

Additionally, if you wish to utilize the GPU acceleration features, you will need to have the CUDA Toolkit or Apple Metal installed on your machine.

Installation

To get a local copy of the project up and running on your machine, follow these simple steps:

  1. Clone the project repository

    git clone https://github.com/Kaweees/KiwiCPP.git
    cd KiwiCPP
  2. Install the project dependencies

    If you have direnv installed, simply allow the environment:

    direnv allow

    Otherwise, you can use nix-shell to enter the environment:

    nix-shell --max-jobs $(nproc) # Linux / Windows (WSL)
    nix-shell --max-jobs $(sysctl -n hw.ncpu) # macOS
  3. Build the project

    just build
  4. Run the project

    just run <package_name>

Project Structure

KiwiCPP/
โ”œโ”€โ”€ .github/                       - GitHub Actions CI/CD workflows
โ”œโ”€โ”€ include/                       - project header files
โ”œโ”€โ”€ src/                           - project source files
โ”‚   โ””โ”€โ”€ main.c                     - Entry point, main function
โ”œโ”€โ”€ CMakeLists.txt                 - CMake build script
โ”œโ”€โ”€ LICENSE                        - project license
โ””โ”€โ”€ README.md                      - you are here

License

The source code for Kaweees/kiwiCPP is distributed under the terms of the GNU General Public License v3.0, as I firmly believe that collaborating on free and open-source software fosters innovations that mutually and equitably beneficial to both collaborators and users alike. See LICENSE for details and more information.

About

๐Ÿ–ฅ๏ธ Template for creating C++ header-only libraries accelerated with CUDA/Apple Metal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

โšก