
    (Th                     ^    S SK Jr  SSKJr   " S S\5      r " S S\5      r " S S	\5      rg
)   )TritonError    )Optionalc                   :    \ rS rSrSS\\   4S jjrS\4S jrSrg)	InterpreterError   Nerror_messagec                     Xl         g Nr	   selfr	   s     M/var/www/auris/envauris/lib/python3.13/site-packages/triton/runtime/errors.py__init__InterpreterError.__init__       *    returnc                 ,    U R                   =(       d    S$ )N r   r   s    r   __str__InterpreterError.__str__
   s    !!'R'r   r   r   	__name__
__module____qualname____firstlineno__r   strr   r   __static_attributes__ r   r   r   r      s    +hsm +( (r   r   c                   .    \ rS rSrS rS\4S jrS rSrg)OutOfResources   c                 (    Xl         X l        X0l        g r   )requiredlimitname)r   r&   r'   r(   s       r   r   OutOfResources.__init__   s     
	r   r   c                 V    SU R                    SU R                   SU R                   S3$ )Nzout of resource: z, Required: z, Hardware limit: z0. Reducing block sizes or `num_stages` may help.)r(   r&   r'   r   s    r   r   OutOfResources.__str__   s9    "499+\$--HZ[_[e[eZf  gW  X  	Xr   c                 ^    [        U 5      U R                  U R                  U R                  44$ r   )typer&   r'   r(   r   s    r   
__reduce__OutOfResources.__reduce__   s$    T
T]]DJJ		BCCr   )r'   r(   r&   N)	r   r   r   r   r   r   r   r.   r    r!   r   r   r#   r#      s    
X XDr   r#   c                   :    \ rS rSrSS\\   4S jjrS\4S jrSrg)	
PTXASError   Nr	   c                     Xl         g r   r   r   s     r   r   PTXASError.__init__   r   r   r   c                 6    U R                   =(       d    SnSU 3$ )Nr   zPTXAS error: r   r   s     r   r   PTXASError.__str__"   s    **0b}o..r   r   r   r   r!   r   r   r1   r1      s    +hsm +/ /r   r1   N)errorsr   typingr   r   r#   r1   r!   r   r   <module>r9      s1      ({ (D[ D/ /r   