Grain size

Grain size

I tried to change the grain size many times but I couldn't observe big changes in time . but some colleages told me that grain size should be propotional with file size is that true?

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.

you have to determine that by experimenting... it has to depend on something file size
number of elements sizes of rows and columns
depends on how you implemented solution

Yes, the grain size depends on the size of the file because as the file size changes the size of computations performed by each thread will vary.Changing the grain size should be more visible when testing on large files..testing on small files doesn't show any big changes in time.

Connectez-vous pour laisser un commentaire.