8.2 Usage

ADRSolverRedesign session.xml

The execution space may be chosen on the command line without touching the session file:

ADRSolverRedesign --opExecSpace AVX session.xml

The implementation used within a space (SumFac or StdMat element kernels) can likewise be forced for every operator at once with –opImpl. When no space is given, the solver picks the most capable one the build supports and says which. Individual operators may instead be given their own implementation from the session file, in an <OPERATORS> block with one section per back-end whose children name an operator and contain its implementation:

1<OPERATORS> 
2  <AVXBACKEND> 
3    <BWDTRANS> SumFac </BWDTRANS> 
4    <PHYSDERIV> StdMat </PHYSDERIV> 
5  </AVXBACKEND> 
6</OPERATORS>