
    9i}                        S r SrSSKJrJrJrJrJrJrJ	r	J
r
JrJr  SSKJrJr  SSKJrJr  SSKJrJr  SSKJr  SSKJr  SS	KJr  SS
KJr  SSKJr  \R<                  R>                  r/ SQr \S\!S\!4S j5       r"\S\!4S j5       r#g)zisort:skip_filez3.5.1   )
autotuneConfig
heuristicsJITFunctionKernelInterfacereinterpretTensorWrapperOutOfResourcesInterpreterError
MockTensor)constexpr_functionjit)AsyncCompileModeFutureKernel)compileCompilationError)TritonError)set_allocator)language)testing)tools)r   r   cdivr   r   r   r   r   r   r   r   r   r   r   r   must_use_resultnext_power_of_2r
   r   runtimer   r	   r   r   r   xyc                     X-   S-
  U-  $ )Nr    )r   r   s     O/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/triton/__init__.pyr   r   B   s    EAI!    nc                 n    U S-  n X S-	  -  n X S-	  -  n X S-	  -  n X S-	  -  n X S-	  -  n X S-	  -  n U S-  n U $ )z9Return the smallest power of 2 greater than or equal to nr                   r   )r"   s    r    r   r   G   s]     FAaKAaKAaKAaKAbLAbLAFAHr!   N)$__doc____version__r   r   r   r   r   r   r   r	   r
   r   r   runtime.jitr   r   runtime._async_compiler   r   compilerr   r   errorsr   runtime._allocationr    r   r   r   corer   __all__intr   r   r   r!   r    <module>r4      s       1 B /  .   --//D C C   
s 
 
r!   