I just got this working on an GPU Enabled Ubuntu AWS instance. I didn't have to modify the code, just some conf files and drivers. The sample .cpp program he provided works for me. I hope that helps narrow down any issues you might encounter.