pystencils.jit.cpu.compiler_info.CompilerInfo#
- class pystencils.jit.cpu.compiler_info.CompilerInfo(openmp=True, optlevel='fast', cxx_standard='c++17', target=<Target.CurrentCPU: 32769>, extra_cxxflags=<factory>)#
Base class for compiler infos.
- Parameters:
-
target:
Target= 32769# Hardware target to compile for.
The value of
targetis used to set the-marchcompiler option (or equivalent).Target.CurrentCPUtranslates to-march=native.
- abstract include_flags(include_dirs)#
Convert a list of include directories into corresponding compiler flags
- abstract restrict_qualifier()#
restrict memory qualifier recognized by this compiler
- Return type:
- static get_default(**kwargs)#
Create a default compiler info object for the current runtime environment.
- Parameters:
kwargs – Are forwarded to the constructor of the selected
CompilerInfosubclass.- Return type: