Skip to content

a7az0th/CG2-CodeForArt-2016

Repository files navigation

CG22016_DevSession

CG2 2016 - Getting your hands dirty with GPUs


CUDA Demo

This repository holds the full code for the DEMO showed at CG2 2016 - Getting your hands dirty with GPUs If you did not attend the conference, I suggest you check out the recorded videos. Just click the banner above.


WARNING!

This demo is platform dependent and is designed to work on Windows

It should be relatively easy to make it run on other OSes as well, but I just didn't have the time to port it. If you would like to contribute, be my guest.


Requirements

Before this demo can be run, there are a few prereqisites:

  • MS Windows
  • NVidia GPU
  • wxWidgets | Tested with 3.10
  • CUDA Toolkit | Tested with CUDA 7.5
  • CMake | v3.7 or later
  • Visual Studio 2010 or later | CUDA 7.5 does not support vc14. CUDA 8.0 does

Click on the links provided and download and install the latest versions. NOTE After setting up wxWidgets, make sure there is a WXWIN env var set with the location where wxWidgets is installed.


Building a Solution

We are ready to create our build solution. Go to the location where you have downloaded the sources and run build.bat It will create a folder named CG2demo_Build in the same directory and if all goes well create a solution.

If everything was set up properly and no errors occur, inside the CG2demo_Build folder you should find cg2_Demo.sln Open it with Visual Studio and hit F7.

NOTE CMake sets the default startup project to ALL_BUILD. If you want to run your program from Visual Studio, set the default project to cg2_demo. NOTE It is possible that your solution does not compile on the first try and complain for not being able to find demoFilters.h . In this case just hit F7 again.

Enjoy!

You can send your questions to a7az0th@gmail.com

About

Below is the code for CG2 2016 "Getting your hands dirty with GPUs" talk

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages