§
    9˜ºh  ã                   ó”   — U d dl mZmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ d¦  «        Z e¦   «         aeed<   d	efd
„ZdS )é    )ÚOptionalÚProtocolc                   ó   — e Zd Zdefd„ZdS )ÚBufferÚreturnc                 ó   — d S ©N© )Úselfs    úb/var/www/html/services/rag-service/venv/lib/python3.11/site-packages/triton/runtime/_allocation.pyÚdata_ptrzBuffer.data_ptr   ó   € Øˆó    N)Ú__name__Ú
__module__Ú__qualname__Úintr   r
   r   r   r   r      s/   € € € € € ð˜#ð ð ð ð ð ð r   r   c                   ó2   — e Zd Zdededee         defd„ZdS )Ú	AllocatorÚsizeÚ	alignmentÚstreamr   c                 ó   — d S r	   r
   ©r   r   r   r   s       r   Ú__call__zAllocator.__call__   r   r   N©r   r   r   r   r   r   r   r
   r   r   r   r   
   sH   € € € € € ð˜Sð ¨Sð ¸(À3¼-ð ÈFð ð ð ð ð ð r   r   c                   ó2   — e Zd Zdededee         defd„ZdS )ÚNullAllocatorr   r   r   r   c                 ó    — t          d¦  «        ‚)NzxKernel requires a runtime memory allocation, but no allocator was set. Use triton.set_allocator to specify an allocator.)ÚRuntimeErrorr   s       r   r   zNullAllocator.__call__   s   € Ýð Oñ Pô Pð 	Pr   Nr   r
   r   r   r   r      sR   € € € € € ðP˜Sð P¨Sð P¸(À3¼-ð PÈFð Pð Pð Pð Pð Pð Pr   r   Ú
_allocatorÚ	allocatorc                 ó
   — | a dS )z€
    The allocator function is called during kernel launch for kernels that
    require additional global memory workspace.
    N)r!   )r"   s    r   Úset_allocatorr$      s   € ð €J€J€Jr   N)	Útypingr   r   r   r   r   r!   Ú__annotations__r$   r
   r   r   ú<module>r'      sá   ðØ %Ð %Ð %Ð %Ð %Ð %Ð %Ð %Ð %ðð ð ð ð ˆXñ ô ð ðð ð ð ð �ñ ô ð ðPð Pð Pð Pð Pñ Pô Pð Pð &˜™œ€
ˆIÐ 'Ð 'Ñ 'ð˜Yð ð ð ð ð ð r   