"O3" structure copy

"O3" structure copy

Did you know that this...

void my_copy(T &Out, const T &In)
{
Out = In;
}
void my_call(dense &Out, const dense &In)
{
map(my_copy)(Out, In);
}

...runs faster with extra cores than this...

void my_call(dense &Out, const dense &In)
{
Out = In;
}

...which doesn't speed up at all, even though these do the same thing.

- paul

3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de AmandaS (Intel)

Paul thanks - we're checking into it.--Amanda

Portrait de AmandaS (Intel)

Paul,We've confirmed this issue and are working on a fix. Thanks for reporting it.--Amanda

Connectez-vous pour laisser un commentaire.