o
    lÇhp  ã                   @   s¼   d Z dZddlmZmZmZmZmZmZm	Z	m
Z
mZmZ ddlmZ ddlmZmZ ddlmZ ddlmZ ddlmZ dd	lmZ dd
lmZ g d¢Zdedefdd„Zdefdd„ZdS )zisort:skip_filez3.3.0é   )
ÚautotuneÚConfigÚ
heuristicsÚJITFunctionÚKernelInterfaceÚreinterpretÚTensorWrapperÚOutOfResourcesÚInterpreterErrorÚ
MockTensor)Újit)ÚcompileÚCompilationError)ÚTritonError)Úset_allocator)Úlanguage)Útesting)Útools)r   Úcdivr   r   r   r   r
   r   r   r   r   r   Únext_power_of_2r	   r   Úruntimer   r   r   r   r   ÚxÚyc                 C   s   | | d | S )Nr   © )r   r   r   r   úc/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/triton/__init__.pyr   ;   s   r   Únc                 C   s\   | d8 } | | d? O } | | d? O } | | d? O } | | d? O } | | d? O } | | d? O } | d7 } | S )z9Return the smallest power of 2 greater than or equal to nr   é   é   é   é   é    r   )r   r   r   r   r   ?   s   r   N)Ú__doc__Ú__version__r   r   r   r   r   r   r   r   r	   r
   r   Úruntime.jitr   Úcompilerr   r   Úerrorsr   Úruntime._allocationr   Ú r   r   r   Ú__all__Úintr   r   r   r   r   r   Ú<module>   s    0