- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by marc_ba on 05-06-2004 12:20 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marc,
it seems you use PX code instead of "right" optimized code. Could you describe howyou built custom DLL? I think something was wrong in this point.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your help. I carrefully followed the readme instructions, by including the functions used in funclist.h & export.def.
By the way, I suppose the issue comes from tools.ini. Here is how the processor list is described :
# ###############################################################
# Supported processors.
# px=Generic IA-32 processor,
# a6=Intel Pentium III processor,
# w7=Intel Pentium 4 processor
CpuList=px a6 w7
Then I launch nmake clean and nmake that results in my own custom.dll and custom.lib with witch my program links.
Can you see anything wrong in that ?
Thanks,
Marc
Message Edited by marc_ba on 05-06-2004 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marc,
Did you define macro names PX, A6 and W7 in your dllmain.c file? If you will look on customdll sample, you will find that these macro names controls cpu-specific code into custom dll.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by marc_ba on 05-06-2004 05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marc,
yes, in IPP sample you have not to modify dllmain.c because these macro are defined in customdll.mak file. I just thought thatwhen you used this technique for your own software you could miss this. So, could you check if dispatcher selected right version of code? To do it you need insert piece of code like that to appropriate place in your program:
const IppLibraryVersion* libinfo;
// get ipp libraryversion info
libinfo = ippsGetLibVersion(); // if you use ipps
printf("name: %s
",libinfo->Name);
printf("version: %s
",libinfo->Version);
printf("build: %s
",libinfo->BuildDate);
- 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
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vdudnik,
I really appreciate your help. I will try, under short delays, to provide the most complete information I can about my configuration, the functions I use and how I use it. Actually, I'll provide a very simple code example.
Regards,
Marc
- 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