Hi all,

Karl Rupp <[email protected]> writes:
>> I looked at Chap. 10, but didn't find a way to disable the auto context
>> creation. I wish to disable it because it would make interaction with
>> the UI a lot easier. Since the auto(0) context fails to add all devices,
>> and I'm creating additional contexts (and one of those is bound to be
>> the same as the one automatically created) , that complicates things
>> when interacting with the UI.
>
> Can you provide a test case where the code silently creates a context 
> even though it should not? If you really want to manage your own context 
> and stuff, you will add a lot of (imho unnecessary) code to the GUI just 
> for managing the OpenCL layer. Keep in mind that the code with the least 
> maintenance effort is the code which isn't there...

I would also be interested to see this, because I thought I'd eliminated
all of these false contexts!

Cheers,

Toby


-- 
Toby St Clere Smithe
http://tsmithe.net


------------------------------------------------------------------------------
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to