eth-cscs / modparser

BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Optimized generated code fails to compile with gcc 5.3.0 #24

Open vkarak opened 8 years ago

vkarak commented 8 years ago

This turns out to be more general. GCC dislikes __declspecs. I'm on it.

bcumming commented 8 years ago

I am sorry, I should have responded sooner.

The optimized code was generated to specifically target the intel compiler, because it was the only compiler that could reliably vectorize the loops without intrinsics. Hence why I have Intel-only features.

If we use intrinsics you can either

vkarak commented 8 years ago

Since we're moving to intrinsics then, I'm not gonna spend more on this.

bcumming commented 8 years ago

I would be tempted to step back, and use the unoptimized kernels as a starting point.