Ë
    ñuki7  ã                   óä  — d 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 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 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 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 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 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$ 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. dd%l"m/Z0 dd&l"m1Z2 dd'l"m3Z3 dd(l"m4Z4 dd)l"m5Z5 dd*l"m6Z6 dd+l"m7Z7 dd,l"m8Z9 dd-l"m:Z; dd.l"m<Z< dd/l"m=Z= dd0l"m>Z> dd1l"m?Z? dd2l"m@Z@ dd3l"mAZA dd4l"mBZB dd5l"mCZC dd6l"mDZE dd7l"mFZG dd8lHmIZI dd9lHmJZJ dd:lHmKZK dd;lLmMZM dd<lNmOZO dd=lNmPZP dd>lNmQZQ dd?lRmSZS ej¨                  ZTejª                  ZUdd@lVZWeWj°                  re$Z#e&Z%e(Z'e*Z)e,Z+e.Z-e0Z/e2Z1e9Z8eEZDeGZFe;Z:[Wy@ddAlYmZZ[ dBe;fdCeGfdDe9fdEeEfdFe$fdGe&fdHe(fdIe*fdJe,fdKe.fdLe0fdMe2fdNœZ\ e[e]e\«      Z^[[[Wy@)OzŠModule for Pallas, a JAX extension for custom kernels.

See the Pallas documentation at
https://docs.jax.dev/en/latest/pallas/index.html.
é    )ÚBlockDim)ÚBlocked)Ú	BlockSpec)ÚBoundedSlice)ÚBuffered)ÚCompilerParams)Úcore_map)ÚCostEstimate)ÚElement)ÚGridSpec)Úlower_as_mlir)Ú	MemoryRef)ÚMemorySpace)Úno_block_spec)Ú	semaphore)ÚSqueezed)Úsqueezed)Úestimate_cost)Údebug_check)Údebug_checks_enabled)Úempty)Ú
empty_like)Úempty_ref_like)Úenable_debug_checks)Úkernel)Úloop)Úwhen)Úpallas_call)Úpallas_call_p)Ú
atomic_add)Ú
atomic_and)Ú
atomic_cas)Ú
atomic_max)Ú
atomic_min)Ú	atomic_or)Úatomic_xchg)Ú
atomic_xor)Údebug_print)Údelay)ÚDeviceIdType)Údot)Ú
get_global)Úload)Úmax_contiguous)Úmultiple_of)Únum_programs)Ú
program_id)Ú
reciprocal)Ú
run_scoped)Úsemaphore_read)Úsemaphore_signal)Úsemaphore_wait)Ústore)Úswap)Úcdiv)Únext_power_of_2)Ústrides_from_shape)Ú	run_state)Úds)Údslice)ÚSlice)Úbroadcast_toN)Údeprecation_getattrzRpl.max_contiguous is deprecated, access it through jax.experimental.pallas.triton.zopl.swap is deprecated, use ``ref[idx]``/``ref[idx] = value`` or a backend-specific loading/storing API instead.zRpl.load is deprecated, use ``ref[idx]`` or a backend-specific loading API instead.z[pl.store is deprecated, use ``ref[idx] = value`` or a backend-specific storing API instead.zNpl.atomic_add is deprecated, access it through jax.experimental.pallas.triton.zNpl.atomic_and is deprecated, access it through jax.experimental.pallas.triton.zNpl.atomic_cas is deprecated, access it through jax.experimental.pallas.triton.zNpl.atomic_max is deprecated, access it through jax.experimental.pallas.triton.zNpl.atomic_min is deprecated, access it through jax.experimental.pallas.triton.zMpl.atomic_or is deprecated, access it through jax.experimental.pallas.triton.zOpl.atomic_xchg is deprecated, access it through jax.experimental.pallas.triton.zNpl.atomic_xor is deprecated, access it through jax.experimental.pallas.triton.)r.   r8   r-   r7   r    r!   r"   r#   r$   r%   r&   r'   )_Ú__doc__Újax._src.pallas.corer   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   Újax._src.pallas.cost_estimater   Újax._src.pallas.helpersr   r   r   r   r   r   r   r   r   Újax._src.pallas.pallas_callr   r   Újax._src.pallas.primitivesr    Ú_deprecated_atomic_addr!   Ú_deprecated_atomic_andr"   Ú_deprecated_atomic_casr#   Ú_deprecated_atomic_maxr$   Ú_deprecated_atomic_minr%   Ú_deprecated_atomic_orr&   Ú_deprecated_atomic_xchgr'   Ú_deprecated_atomic_xorr(   r)   r*   r+   r,   r-   Ú_deprecated_loadr.   Ú_deprecated_max_contiguousr/   r0   r1   r2   r3   r4   r5   r6   r7   Ú_deprecated_storer8   Ú_deprecated_swapÚjax._src.pallas.utilsr9   r:   r;   Újax._src.state.discharger<   Újax._src.state.indexingr=   r>   r?   Újax._src.state.primitivesr@   ÚANYÚHOSTÚtypingÚ_typingÚTYPE_CHECKINGÚjax._src.deprecationsrA   Ú_deprecation_getattrÚ_deprecationsÚ__name__Ú__getattr__© ó    ú[/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/jax/experimental/pallas/__init__.pyú<module>re      sø  ðñõ 6Ý 3Ý 7Ý =Ý 5Ý AÝ 5Ý =Ý 3Ý 5Ý ?Ý 7Ý ;Ý ?Ý 7Ý 5Ý 5Ý HÝ >Ý PÝ 2Ý <Ý DÝ NÝ 4Ý 0Ý 0Ý BÝ FÝ KÝ KÝ KÝ KÝ KÝ IÝ MÝ KÝ AÝ 5Ý CÝ 1Ý ?Ý ?Ý SÝ AÝ CÝ ?Ý ?Ý ?Ý GÝ KÝ GÝ AÝ ?Ý .Ý DÝ JÝ ;Ý ,Ý 4Ý 2Ý Bð ‡oo€Ø×Ñ€ó Ø
×ÒØ%€*Ø%€*Ø%€*Ø%€*Ø%€*Ø#€)Ø'€+Ø%€*Ø	€$Ø
€%Ø	€$Ø-€.ñt õq Pð _Ø
$ðð
 |Ø
ðð _Ø
ðð
 hØ
ðð [Ø
 ðð
 [Ø
 ðð
 [Ø
 ðð
 [Ø
 ðð
 [Ø
 ðð
 ZØ
ðð
 \Ø
!ðð
 [Ø
 ðña4€-ñj % X¨}Ó=€+ØÙrc   