Skip to content

Instantly share code, notes, and snippets.

View stormbeta's full-sized avatar

Jason Miller stormbeta

  • Ping Identity
  • Colorado
View GitHub Profile
@kamino410
kamino410 / gl-cuda-test.cpp
Created May 20, 2018 16:03
Render on CUDA, display with OpenGL
#include <iostream>
#include <stdlib.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define WIDTH 512
#define HEIGHT 512
extern "C" void kernelBindPbo(GLuint pixelBufferObj);