- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to compress and decompress a text file using the LZO algorithm that IPP provides. It works fine when single threaded.
I tried using the function ippSetNumThreads() with arguments greater than 1.
Inorder to check if the specified number of threads are created I used the ippGetNumThreads() function.
The result is always 1 :(
I have been using the function ippsEncodeLZO_8u() to compress and ippsDecodeLZO_8u() to decompress.
Though i have changed the parameters to be IppLZO1XMT as specified in the documentaion there seems to be no change in the number of threads created.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For your info, the processor I am using is intel core i5.
So I hope threading is applicable in here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ananth,
Please make sure you link your application to multi-thread (ipp*_t.lib) libraries. For data compression it will be ippdc_t.lib.
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page