Skip to content

maxwellcui/CUDA_practice

Repository files navigation

Nvidia CUDA C/C++ GPU parallel computation practice codes || - ( ゜- ゜)つロ 乾杯~ -

  • Author: Zhaoyuan "Maxwell" Cui
  • Physics department, University of Arizona
  • Don't remember since when I started learning CUDA...╮( ̄▽ ̄)╭

Introduction

This repository collects my personal codes of CUDA C/C++ practice. The book I am reading for learning CUDA is Professional CUDA C Programming. This book is really a step-by-step guide so it's a life saver to me. Although the book was written when CUDA 6.0 was just realesed, the contents are still pretty good for a beginner or at least for an experimental particle physicist. Most of the codes and toptics in this respository are based on this book. I also have a copy of CUDA by Example: An Introduction to General-Purpose GPU Programming, which does not really help too much. In case you want a book to learn from the ground, I hope my experience can help.

While I have the feeling that GPU could be a strong tool in experimental HEP, I don't have a clear idea on how to use it yet. Neverthelss, I just want to start learning it. Who knows if one day I can use them in my research (true reason is that using GPU for physics research sounds cool).

Device

The GPU I am using is Nvidia GeForce GTX 750 Ti with 2GB memory and 640 CUDA cores. More info can be found in (•̀ᴗ•́)و ̑̑. You can also get one from Amazon by paying about $120 ヽ(・ω・。)ノ.

I have also started using the service from Paperspace. I am using their GPU+ plan, which provides the access to a Nvidia Quadro M4000 with 8GB memory and 1664 CUDA cores. In case you also want to use their services, here is a promotion code for $10. Register here or use A2CBVDK when you need it.

Resources

CUDA Toolkit Download

A useful page that helps install CUDA on Ubuntu 14.04 LTS

CUDA C Best Practices Guide

CUDA C Programming Guide

NVIDIA CUDA Compiler Driver NVCC

中文吐槽 真正的目的是学会如何100%利用战术核显卡来突破次元壁(误)( ´_ゝ`)

About

Nvidia CUDA C/C++ GPU parallel computation practice codes || - ( ゜- ゜)つロ 乾杯~ -

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages