26 Feb
2009
26 Feb
'09
6:33 p.m.
Eric Niebler a écrit :
Oh, you're using make_expr. If the result of exponent(x) is always in the domain of simd_domain
, then you should use that as the domain parameter to make_expr instead of domain_of<T>::type. Ha, right ! Forgot about domain_of. It fixes this indeed.
Concerning the other approach, I guess it boils down to have terminal of the given function object laying around? terminal< exponent_ > exponent ={{}}; How does it scale with a large number of function object (say > 300) in term of compile time ? Is there any advantage over make_expr ? -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35