- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
#include
#include
#include
#define outter 10000000
{
int i,j;
float p[inner],q[inner],x1,x2;
unsigned long BeginTime1,EndTime1;
unsigned long BeginTime2,EndTime2;
for(i=0;i
p=(float)(i*3.14);
q=(float)(i*6.28);
}
x1=0.0;
for(i=0;i
x1 += p*q; /* ... the usual, slow way. */
}
}
EndTime1 = GetTickCount();
x = p0*q0 + p1*q1 + p2*q2 + ... +pn*qn */
for(j=0;j
ippsDotProd_32f( p,q,inner,&x2 );/* Intel optimized... */
}
EndTime2 = GetTickCount();
printf(" (Dot product result: x2 = %f) ",x2);
return 0;
}
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Ying
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
dand123,
could you please also to print out the library version info? Please embedpiece of code like this into your program and give us the results:
#include "ippcore.h"
static void ipps_version(void)
{
int freq;
const IppLibraryVersion* version;
version = ippsGetLibVersion();
printf("IntelippSP library, version:
");
printf("major: %d
",version->major);
printf("minor: %d
",version->minor);
printf("majorBuild: %d
",version->majorBuild);
printf("build: %d
",version->build);
printf("target CPU is <%c%c%c%c>
",
version->targetCpu[0],
version->targetCpu[1],
version->targetCpu[2],
version->targetCpu[3]);
printf("Name: %s
",version->Name);
printf("Version: %s
",version->Version);
printf("BuildDate: %s
",version->BuildDate);
printf("Detected CPU type: %d ",ippCoreGetCpuType());
ippGetCpuFreqMhz(&freq);
printf("Detected CPU freq: %d
",freq);
return;
} /* ipps_version() */
The reason I'm asking that is the different Celeron processors has different processor core, some of the has Pentium 3 core but another has Pentium 4 core.
Regards,
Vladimir
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
why is it running a px.dll library version, which is an optimizedgeneric c code? celeron 2.4 GHz is still pentium 4 so it should be w7.dll.
detected cpu type is ok (6=ippCpuP4=Pentium 4 processor ):
typedef enum {
/* Enumeration: Processor: */
ippCpuUnknown = 0x0,
ippCpuPP, /* Intel Pentium processor */
ippCpuPMX, /* Pentium processor with MMX technology */
ippCpuPPR, /* Pentium Pro processor */
ippCpuPII, /* Pentium II processor */
ippCpuPIII, /* Pentium III processor */
ippCpuP4, /* Pentium 4 processor */
ippCpuP4HT, /* Pentium 4 Processor with HT Technology */
ippCpuP4HT2,
ippCpuCentrino, /* Intel Centrino mobile technology */
ippCpuITP = 0x10, /* Intel Itanium processor */
ippCpuITP2 /* Itanium 2 processor */
} IppCpuType;
Message Edited by dand123 on 01-09-2004 09:05 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
sts = ippStaticInitCpu(ippCpuP4);
Message Edited by dand123 on 01-10-2004 04:55 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I managed to link staticaly with w7 library by including ipp*merged.lib, so for now I will stick to that temporary solution. I hope intel premier support will have the answer ready in the near future... Thanks for your help.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Ying
Intel IPP
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
In fact,
it turned out that the user (myself) has had an AMD processorsystem when installed IPP 4.0 Runtime. After that, thesystem waschanged to Intel (new processor, new motherboard, WinXP repair), but IPP's stayed the same (AMD version!). IPP Runtime reinstallation solved the problem (after manually removing the old dlls from windowssystem32ipp20).
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla