- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a slightly obscure problem :) For testing purposes we're running opencl inside a linux VM, so the actual gfx hardware is not accessable. We're using the CPU fallback from intel's opencl impl instead. Apparently, this impl is using TBB to get better performance but our environment does not allow for third parties to create any threads. We don't need any performance, just that it works at all. Is there a way (maybe by setting an environment variable) to disable the multi-threading inside intel's CPU based opencl driver?
Thx, Alex
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that's not possible. You may be able to play with global and local sizes to restrict the number of threads but the runtime still depends on tbb. I will fwd your question to see if there are workarounds.
Raghu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. Looks like there is no way to disable TBB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Also please look at Immediate Execution: http://software.intel.com/sites/products/documentation/ioclsdk/2013/UG/Intel_Immediate_Command_Execution_Extension.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, immidate exec seems to fix my problem.
I assume the standard TBB ENV vars also work here?
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Max. I wasn't aware of the extension. Moreover I misunderstood the question as "completely disabling tbb".
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page