method
Return a set of CPU features that implied by ‘names’
CPU feature name(s) in uppercase.
if False(default) then the returned set will not contain any features from ‘names’. This case happens only when two features imply each other.
>>> self.feature_implies("SSE3")
{'SSE', 'SSE2'}
>>> self.feature_implies("SSE2")
{'SSE'}
>>> self.feature_implies("SSE2", keep_origins=True)
# 'SSE2' found here since 'SSE' and 'SSE2' imply each other
{'SSE', 'SSE2'}
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.distutils.ccompiler_opt.CCompilerOpt.feature_implies.html