o
    ܹi                     @   sD   d dl mZ d dlmZ ddlmZ d
dee dee fddZd	S )    )Optional)proton   )get_profiling_onsessionreturnc                 C   s   t  sdS t| S )z
    Get the depth of the context.

    Args:
        session (int): The session ID of the profiling session. Defaults to 0.

    Returns:
        depth (int or None): The depth of the context. If profiling is off, returns None.
    N)r   	libprotonget_context_depth)r    r
   T/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/triton/profiler/context.pydepth   s   

r   N)r   )	typingr   triton._C.libprotonr   r   flagsr   intr   r
   r
   r
   r   <module>   s     