
    (Th                     |    % S SK JrJr   " S S\5      r " S S\5      r " S S5      r\" 5       q\\S'   S	\4S
 jrg)    )OptionalProtocolc                   "    \ rS rSrS\4S jrSrg)Buffer   returnc                     g N )selfs    R/var/www/auris/envauris/lib/python3.13/site-packages/triton/runtime/_allocation.pydata_ptrBuffer.data_ptr           r   N)__name__
__module____qualname____firstlineno__intr   __static_attributes__r   r   r   r   r      s    # r   r   c                   4    \ rS rSrS\S\S\\   S\4S jrSrg)		Allocator
   size	alignmentstreamr   c                     g r
   r   r   r   r   r   s       r   __call__Allocator.__call__   r   r   r   N	r   r   r   r   r   r   r   r    r   r   r   r   r   r   
   s'    S S (3- F r   r   c                   4    \ rS rSrS\S\S\\   S\4S jrSrg)	NullAllocator   r   r   r   r   c                     [        S5      e)NzxKernel requires a runtime memory allocation, but no allocator was set. Use triton.set_allocator to specify an allocator.)RuntimeErrorr   s       r   r    NullAllocator.__call__   s     O P 	Pr   r   Nr"   r   r   r   r$   r$      s,    PS PS P(3- PF Pr   r$   
_allocator	allocatorc                     U q g)zt
The allocator function is called during kernel launch for kernels that
require additional global memory workspace.
N)r)   )r*   s    r   set_allocatorr,      s	     Jr   N)	typingr   r   r   r   r$   r)   __annotations__r,   r   r   r   <module>r/      sI    % %X  P P &
I 'Y r   