Skip to content

Instantly share code, notes, and snippets.

@AhmedAmraniAkdi
AhmedAmraniAkdi / assert_cuda.c
Created November 21, 2021 20:35 — forked from allanmac/assert_cuda.c
A tiny example of CUDA + OpenGL interop with write-only surfaces and CUDA kernels. Uses GLFW+GLAD.
//
//
//
#include <stdlib.h>
#include <stdio.h>
//
//
//