o
    1Î®cñ  ã                   @   s8   d dl mZmZmZ d dlmZ d dlmZ dd„ ZdS )é    )Ú__cpu_features__Ú__cpu_baseline__Ú__cpu_dispatch__)Ú_umath_tests)Úassert_equalc                  C   sÞ   d} d}g }t | ƒD ]}|tv rq
|tvst| sq
|s d| }| d| ¡ q
t ¡ }t|d d| ƒ t|d d| ƒ |rSt|d d| ƒ t|d d| ƒ nt|d d	ƒ t|d d	ƒ | d¡ t|d
 |ƒ dS )z5
    Testing the utilities of the CPU dispatcher
    )	ÚSSE2ÚSSE41ÚAVX2ÚVSXÚVSX2ÚVSX3ÚNEONÚASIMDÚASIMDHPÚ Ú_Úfunc_ÚfuncÚvarÚfunc_xbÚvar_xbÚnobaseÚallN)Úreversedr   r   r   Úappendr   Útest_dispatchr   )ÚtargetsÚhighest_sfxÚall_sfxÚfeatureÚtest© r!   úK/tmp/pip-target-vg8gfxp4/lib/python/numpy/core/tests/test_cpu_dispatcher.pyÚtest_dispatcher   s*   
r#   N)	Únumpy.core._multiarray_umathr   r   r   Ú
numpy.corer   Únumpy.testingr   r#   r!   r!   r!   r"   Ú<module>   s    