When we run a macro, e.g. example.C, in compile mode, we run:
.x example.C++
Does it include auto vectorization? If not, is there a way to do it?
Thanks
When we run a macro, e.g. example.C, in compile mode, we run:
.x example.C++
Does it include auto vectorization? If not, is there a way to do it?
Thanks
The default for ACLiC is to use the same optimization level as the way ROOT was compiled. The default is -O2 is build in Release mode. If your compiler (version) does auto-vectorization then, it be used when ACliC invokes your compiler to compile the script.
Cheers
Philippe.
PS. If you ROOT is build in debug mode you can force the use of optimization by ACLiC with:
.x example.C++O
You can also change the option used by ACLiC by using
gSystem->GetFlagsOpt() and gSystem->SetFlagsOpt(....).
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.