
    J/Ph                         d dl Z d dlmZ d dlmZ d dlmZ  ed           G d de                      Zedk    r e j                     dS dS )	    N)ContextResettingTestCase)cuda)skip_on_cudasimz*CUDA Profiler unsupported in the simulatorc                       e Zd Zd ZdS )TestProfilerc                    t          j                    5  t          j        d          }~d d d            n# 1 swxY w Y   t          j                    5  t          j        d          }~d d d            d S # 1 swxY w Y   d S )N
   d   )r   	profilingdevice_array)selfas     f/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numba/cuda/tests/cudadrv/test_profiler.pytest_profilingzTestProfiler.test_profiling	   s    ^ 	 	!"%%A	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 ^ 	 	!#&&A	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	s   6::A77A;>A;N)__name__
__module____qualname__r        r   r   r      s#            r   r   __main__)	unittestnumba.cuda.testingr   numbar   r   r   r   mainr   r   r   <module>r      s     7 7 7 7 7 7       . . . . . . =>>    +   ?> zHMOOOOO r   