Login  Register

Re: Multiple OpenCL contexts

Posted by Wade Walker on Jun 11, 2016; 6:21pm
URL: https://forum.jogamp.org/Multiple-OpenCL-contexts-tp4036753p4036825.html

Hi shaman,

It seems like you've discovered that behavior varies across vendor when you're creating multiple CL contexts, so apparently we can't count on it working correctly :) Given this, is there some way you can accomplish your goal without relying on multiple contexts? As you say, if you're simply trying to use all the devices, you can do that from one context. Is there some specific reason you need more than one context, or was this just something you were trying because it seemed like it should work?