Code Monkey home page Code Monkey logo

cuda-programming-template's Introduction


CUDA Programming Template

A just-enough template/tutorial for building a CUDA development environment.

About The Project

This template/tutorial records the necessary steps for developing a CUDA application, listed as follows.

  1. Create a development container
  2. Structure your source code
  3. Setup CMake
  4. Setup VS Code

Getting Started

If your project is developing on the eda38/eda39 server, skip the prerequisites.

Prerequisites

Please install CUDA, CuDNN, Docker, and NVIDIA Container Toolkit on your machine.

Setup

  1. Clone this repository.
git clone --recursive https://github.com/YanjenChen/CUDA-Programming-Template.git
  1. Install the following VS Code extensions.
  1. Start VS Code, run the Dev Containers: Reopen in Container command from the Command Palette (F1) or quick actions Status bar item.
  2. Build the example project
$ mkdir build && cd build
$ cmake ..
$ make -j8 && make install
  1. Test the example project
$ python main.py
  1. You are all set! Begin your development.

Usage

You can detail the usage of your application here.

Install

You can detail the installation procedure of your application here.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Yan-Jen Chen - [email protected]

Reference

cuda-programming-template's People

Contributors

yanjenchen avatar

Watchers

 avatar

Forkers

1z2s3e4v

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.