o
    i:                     @   s   d d Z dS )c                 C   sl   | j j }}| j}| j}| j}t||D ]\}}|dk r%||d | 7 }q||d | 7 }q||7 }||fS )zReturns pointers to the end-points of an array.

    Args:
        a: ndarray
    Returns:
        Tuple[int, int]: pointers to the end-points of an array

    .. seealso:: :func:`numpy.byte_bounds`
           )dataptrstridesshapeitemsizezip)aa_lowa_high	a_stridesa_shapea_item_bytesr   stride r   S/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/cupy/_misc/byte_bounds.pybyte_bounds   s   
r   N)r   r   r   r   r   <module>   s    