a
    
d                     @   sX   d dl Z d dlmZ d dlmZ d dlmZ edG dd deZedkrTe   dS )	    N)ContextResettingTestCase)cuda)skip_on_cudasimz*CUDA Profiler unsupported in the simulatorc                   @   s   e Zd Zdd ZdS )TestProfilerc                 C   sl   t   t d}~W d    n1 s*0    Y  t   t d}~W d    n1 s^0    Y  d S )N
   d   )r   Z	profilingZdevice_array)selfa r
   o/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/numba/cuda/tests/cudadrv/test_profiler.pytest_profiling	   s    

 

zTestProfiler.test_profilingN)__name__
__module____qualname__r   r
   r
   r
   r   r      s   r   __main__)	ZunittestZnumba.cuda.testingr   Znumbar   r   r   r   mainr
   r
   r
   r   <module>   s   