
    sh                         S SK r S SKJr  S SKJr  S SKJr  \" S5       " S S\5      5       r\S:X  a  \ R                  " 5         gg)	    N)ContextResettingTestCase)cuda)skip_on_cudasimz*CUDA Profiler unsupported in the simulatorc                       \ rS rSrS rSrg)TestProfiler   c                    [         R                  " 5          [         R                  " S5      nAS S S 5        [         R                  " 5          [         R                  " S5      nAS S S 5        g ! , (       d  f       ND= f! , (       d  f       g = f)N
   d   )r   	profilingdevice_array)selfas     z/Users/tiagomarins/Projetos/claudeai/copy_bank/venv/lib/python3.13/site-packages/numba/cuda/tests/cudadrv/test_profiler.pytest_profilingTestProfiler.test_profiling	   s]    ^^!!"%A  ^^!!#&A 	  s   A,A=,
A:=
B N)__name__
__module____qualname____firstlineno__r   __static_attributes__r       r   r   r      s    r   r   __main__)	unittestnumba.cuda.testingr   numbar   r   r   r   mainr   r   r   <module>r      sK     7  . =>+  ? zMMO r   