Software Archive
Read-only legacy content
17061 Discussions

Intel TBB and simd ?

Markus__G_
Beginner
822 Views

Hi i just translated my code from openmp to tbb but the result was worse. I am sure the problem is the usage of simd , but i just want to use it, because i just want to compare openmp and tbb, but i wasn't able to find out why the usage of simd leads to a bad result. With the usage of simd the code is even slower as without simd.

best regards

 

0 Kudos
2 Replies
Markus__G_
Beginner
822 Views

plz see calc_energy , line 262, i was not able to post it here

0 Kudos
Markus__G_
Beginner
822 Views

I just found the error, it's strongly forbiden to use different datatypes into the loop body

 

 

0 Kudos
Reply