+
    	þÎj`  ã                  ó4  € ^ RI Ht ^ RIHt ^ RIHt ^ RIHtHt ^ RI	H
t
HtHtHtHtHt ^ RIHt ]
! R4      t. ROt ! R	 R
]4      t ! R R]],          4      t]R R l4       t]RRRRRRRRRRRRRR/R R ll4       tRRRRRRRRRRRRRRR/R R llltR# )é    )Úannotations©Ú	ASTSource)ÚLanguage)ÚJITFunctionÚconstexpr_function)ÚTypeVarÚOptionalÚCallableÚIterableÚUnionÚoverload)ÚirÚTÚGluonJITFunctionc                  ó8   a € ] tR t^tRR V 3R llltR tRtV ;t# )ÚGluonASTSourcec               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚNone© )Úformats   "ÚX/opt/data/home/.local/lib/python3.14/site-packages/triton/experimental/gluon/_runtime.pyÚ__annotate__ÚGluonASTSource.__annotate__   s   € ÷ ñ Àdñ ó    c                	ó`   <€ \         SV `  WW44       \        P                  V n        R V n        R# )ÚttgirN)ÚsuperÚ__init__r   ÚGLUONÚlanguageÚext)ÚselfÚfnÚ	signatureÚ
constexprsÚattrsÚ	__class__s   &&&&&€r   r!   ÚGluonASTSource.__init__   s$   ø€ Ü‰Ñ˜¨
Ô:Ü Ÿ™ˆŒØˆŽr   c           
     	ó¬  € ^ RI Hp ^ RIHp \        P
                  ! V4      pVP                  4       p	V! V4      p
V
P                  V4      pV	P                  RVP                  V4      4       V	P                  RVP                  VP                  4      4       V	P                  RVP                  VP                  4      4       V	P                  RVP                  VP                  4      4       VP                  R8H  pV'       d:   VP                  e,   V	P                  RVP                  VP                  4      4       V! V P                   WW#WIR	7      p	V	# )
r   )Úmake_backend)Úast_to_ttirz
ttg.targetzttg.num-warpszttg.num-ctaszttg.threads-per-warpÚcudazttg.maxnreg)ÚcontextÚoptionsÚcodegen_fnsÚ
module_mapÚmodule)Útriton.compiler.compilerr-   Útriton.compiler.code_generatorr.   r   ÚbuilderÚcreate_moduleÚget_target_nameÚset_attrÚget_string_attrÚget_int32_attrÚ	num_warpsÚnum_ctasÚ	warp_sizeÚbackend_nameÚmaxnregr&   )r%   Útargetr1   r2   r3   r0   r-   r.   r7   r4   ÚbackendÚis_cudas   &&&&&&      r   Úmake_irÚGluonASTSource.make_ir   s  € Ý9Ý>ä—*’*˜WÓ%ˆØ×&Ñ&Ó(ˆñ ˜vÓ&ˆØ×(Ñ(¨Ó1ˆà�‰˜ g×&=Ñ&=¸fÓ&EÔFØ�‰˜¨×)?Ñ)?À×@QÑ@QÓ)RÔSØ�‰˜¨×(>Ñ(>¸w×?OÑ?OÓ(PÔQØ�‰Ð.°×0FÑ0FÀw×GXÑGXÓ0YÔZà×&Ñ&¨&Ñ0ˆß�w—‘Ò2Ø�O‰O˜M¨7×+AÑ+AÀ'Ç/Á/Ó+RÔSá˜TŸW™W dÀWØ(2ôCˆàˆr   )r$   r#   )NN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r!   rE   Ú__static_attributes__Ú__classcell__©r*   s   @r   r   r      s   ø† ÷ò ÷
ð r   r   c                  ó.   a € ] tR t^-tV 3R ltR tRtV ;t# )r   c                	ó:   <€ \         SV `  4       p\        V n        V# ©N)r    Úcreate_binderr   r   )r%   Úresultr*   s   & €r   rQ   ÚGluonJITFunction.create_binder/   s   ø€ Ü‘Ñ&Ó(ˆÜ'ˆŒØˆr   c                	ó   € R # )Tr   )r%   s   &r   Úis_gluonÚGluonJITFunction.is_gluon4   s   € Ùr   r   )rG   rH   rI   rJ   rQ   rU   rK   rL   rM   s   @r   r   r   -   s   ø† õ÷
ð r   c               ó    € V ^8„  d   QhRRRR/# )r   r&   r   r   zGluonJITFunction[T]r   )r   s   "r   r   r   9   s   € ÷ ñ ˆAð Ð%ñ r   c                ó   € R # rP   r   )r&   s   &r   ÚjitrY   8   s   € ár   ÚversionNÚreprÚlaunch_metadataÚdo_not_specializeÚdo_not_specialize_on_alignmentÚdebugÚnoinlinec               ó4   € V ^8„  d   QhRRRRRRRRRRR	RR
R/# )r   r[   úOptional[Callable]r\   r]   úOptional[Iterable[int | str]]r^   r_   úOptional[bool]r`   r   z"Callable[[T], GluonJITFunction[T]]r   )r   s   "r   r   r   >   sS   € ÷ 
ñ 
ð ð
ð (ð	
ð
 5ð
ð %Bð
ð ð
ð ð
ð (ñ
r   c                ó   € R # rP   r   )rZ   r[   r\   r]   r^   r_   r`   s   $$$$$$$r   rY   rY   =   s   € ñ r   c               ó8   € V ^8„  d   QhRRRRRRRRRRR	R
RR
RR/# )r   r&   zOptional[T]r[   rb   r\   r]   rc   r^   r_   rd   r`   r   z9Union[GluonJITFunction[T], Callable[[T], JITFunction[T]]]r   )r   s   "r   r   r   K   s[   € ÷ .ñ .Øð.ð ð	.ð
 (ð.ð 5ð.ð %Bð.ð ð.ð ð.ð ?ñ.r   c               óJ   aaaaaaa€ R VVVVVVV3R llpV e	   V! V 4      # V# )a  
Decorator for JIT-compiling a function using the Triton compiler.

:note: When a jit'd function is called, arguments are
    implicitly converted to pointers if they have a :code:`.data_ptr()` method
    and a `.dtype` attribute.

:note: This function will be compiled and run on the GPU. It will only have access to:

       * python primitives,
       * builtins within the triton package,
       * arguments to this function,
       * other jit'd functions

:param fn: the function to be jit-compiled
:type fn: Callable
c               ó    € V ^8„  d   QhRRRR/# )r   r&   r   r   zJITFunction[T]r   )r   s   "r   r   Újit.<locals>.__annotate__h   s   € ÷ 
ñ 
�að 
˜Nñ 
r   c                óP   <€ \        V 4      '       g   Q h\        V SSSSSSSR 7      # ))rZ   r]   r^   r_   r`   r[   r\   )Úcallabler   )r&   r_   r]   r^   r\   r`   r[   rZ   s   &€€€€€€€r   Ú	decoratorÚjit.<locals>.decoratorh   s6   ø€ Ü˜�|Š|Ðˆ|ÜØØØ/Ø+IØØØØ+ô	
ð 		
r   r   )	r&   rZ   r[   r\   r]   r^   r_   r`   rl   s	   &ddddddd r   rY   rY   K   s&   þ€ ÷:
ö 
ð 
‚~Ù˜‹}Ðð Ðr   )r   r   rY   rP   )Ú
__future__r   r5   r   Útriton.backends.compilerr   Útriton.runtime.jitr   r   Útypingr	   r
   r   r   r   r   Útriton._C.libtritonr   r   Ú__all__r   r   rY   r   r   r   Ú<module>rt      s  ðÝ "Ý .Ý -ß >ß I× IÝ "áˆCƒL€â
;€ô�Yô ô@�{ 1•~ô ð 
ôó 
ðð 
ð
àð
ð  $ð
ð +/ð	
ð
 8<ð
ð EIð
ð !ð
ð  $ö
ó 
ð
ñ.ð ð.ð  $ð	.ð
 +/ð.ð 8<ð.ð EIð.ð !ð.ð  $÷.ò .r   