I\'ll try and make this clear;
I\'ve got two classes; GPU(Object)
, for general access to GPU functionality, and multifunc(threading.Thread)
Typical; as soon as I write the question I work it out.
The issue was having the SourceModule operating outside of an active context. To fix it I moved the SourceModule invocation into the run function in the thread, below the cuda context setup.
Leaving this up for a while because I'm sure someone else has a better explanation!