+
     þÎj  ã                   ó<   € ^ RI Ht ^ RIHt ^ RIt^ RIHt RR ltR# )é    )Úcuda)ÚdriverN)Únumpy_supportc           	     óT  aa€ \        V R^ 4      pV'       gz   V P                  w  r4V P                  P                  V,          V P                  P                  3p\        P
                  P                  P                  WC3VV P                  VR7      p\        P                  ! V P                  4      o\        P                  ! 4       P                  p\        \        P                  ! ^\        P                   ! V^4      ^,          4      4      p\        Wg,          4      pW‡^,           3o\        P"                  VV3R l4       p	\        VP                  ^ ,          V,          ^,           4      \        VP                  ^,          V,          ^,           4      3p
W‡3pWšW²3,          ! W4       V# )aÁ  Compute the transpose of 'a' and store it into 'b', if given,
and return it. If 'b' is not given, allocate a new array
and return that.

This implements the algorithm documented in
http://devblogs.nvidia.com/parallelforall/efficient-matrix-transpose-cuda-cc/

:param a: an `np.ndarray` or a `DeviceNDArrayBase` subclass. If already on
    the device its stream will be used to perform the transpose (and to copy
    `b` to the device if necessary).
Ústream)Údtyper   c                 ó  <€ \         P                  P                  S
S	R 7      p\         P                  P                  p\         P                  P
                  p\         P                  P                  \         P                  P                  ,          p\         P                  P
                  \         P                  P
                  ,          pWc,           pWT,           pWd,           V P                  ^ ,          8  d:   WS,           V P                  ^,          8  d   WV,           WS,           3,          W$V3&   \         P                  ! 4        W�P                  ^ ,          8  d*   WqP                  ^,          8  d   W#V3,          WV3&   R# R# R# ))Úshaper   N)
r   ÚsharedÚarrayÚ	threadIdxÚxÚyÚblockIdxÚblockDimr
   Úsyncthreads)ÚinputÚoutputÚtileÚtxÚtyÚbxÚbyr   r   ÚdtÚ
tile_shapes   &&       €€ÚR/opt/data/home/.local/lib/python3.14/site-packages/numba/cuda/kernels/transpose.pyÚkernelÚtranspose.<locals>.kernel)   sú   ø€ ô �{‰{× Ñ  z¸Ð Ó<ˆä�^‰^×ÑˆÜ�^‰^×ÑˆÜ�]‰]�_‰_œtŸ}™}Ÿ™Õ.ˆÜ�]‰]�_‰_œtŸ}™}Ÿ™Õ.ˆØ�GˆØ�Gˆà�7�U—[‘[ •^Ô#¨­°%·+±+¸aµ.Ô(@Ø  b¥¨"­'Ð!1Õ2ˆD�R�‰LÜ×ÒÔØ�|‰|˜A�Ô 1§|¡|°A¥Ô#6Ø B �<ˆF�a�4‹Lñ $7Ñó    )Úgetattrr
   r   Úitemsizer   ÚcudadrvÚdevicearrayÚDeviceNDArrayÚnpsÚ
from_dtyper   Ú
get_deviceÚMAX_THREADS_PER_BLOCKÚintÚmathÚpowÚlogÚjit)ÚaÚbr   ÚcolsÚrowsÚstridesÚtpbÚ
tile_widthÚtile_heightr   ÚblocksÚthreadsr   r   s   &&          @@r   Ú	transposer8      sH  ù€ ô �Q˜ !Ó$€FçØ—W‘W‰
ˆØ—'‘'×"Ñ" TÕ)¨1¯7©7×+;Ñ+;Ð;ˆÜ�L‰L×$Ñ$×2Ñ2ØˆLØØ—'‘'Øð	 3ó ˆô 
�Š˜Ÿ™Ó	 €Bä
×
Ò
Ó
×
3Ñ
3€Cä”T—X’X˜a¤§¢¨#¨qÓ!1°AÕ!5Ó6Ó7€JÜ�cÕ&Ó'€Kà¨A�~Ð.€Jä	‡X�Xõ(ó ð(ô$ �—‘˜•˜kÕ)¨AÕ-Ó.´°A·G±G¸AµJÀÕ4KÈaÕ4OÓ0PÐP€FàÐ%€GØ
�7Ð"Ö# AÔ)à€Hr   )N)	Únumbar   Únumba.cuda.cudadrv.driverr   r*   Únumba.npr   r%   r8   © r   r   Ú<module>r=      s   ðÝ Ý ,Û Ý )ö:r   