Skip to content
/ template Public template

Template repository for essentials applications to get you started asap!

Notifications You must be signed in to change notification settings

gunrock/template

Repository files navigation

๐Ÿ‘ป Library Template for Essentials

Would like to get started with gunrock/essentials? Use this template as an example to get your build set-up! For more information about gunrock/essentials please visit the wiki.

Getting Started

  • Click "Use this template" button on github to create your own repository.
  • Use the following instructions below to build the project.
  • Make sure to change <username>/<repo-name> to your repository.
git clone https://github.com/<username>/<repo-name>.git
cd <repo-name>
mkdir build && cd build
cmake .. 
make hello
bin/hello

Code Base Explained

Very simple directory structure, add your source files to src. We provide an example of hello.cu that uses gunrock's namespace.

.
โ”œโ”€โ”€ CMakeLists.txt โž Set this project as a library
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ cmake
โ”‚   โ””โ”€โ”€ FetchEssentials.cmake โž Fetches essentials
โ”œโ”€โ”€ externals โž Empty directory to download projects
โ””โ”€โ”€ src
    โ””โ”€โ”€ hello.cu โž Example executable

3 directories, 4 files