Skip to content

Instantly share code, notes, and snippets.

View amilich's full-sized avatar
🥴

Andrew Milich amilich

🥴
View GitHub Profile
@amilich
amilich / example.cu
Created August 17, 2018 23:37 — forked from dpiponi/example.cu
Minimal CUDA example (with helpful comments).
#include <stdio.h>
//
// Nearly minimal CUDA example.
// Compile with:
//
// nvcc -o example example.cu
//
#define N 1000