
    J/Ph=                         d dl mZmZ d dlmZ d dlmZmZ  ed           G d dej                              Z	e
dk    r ej                     dS dS )	    )float64uint32)compile_ptx)skip_on_cudasimunittestz(Compilation unsupported in the simulatorc                       e Zd Zd ZdS )TestCudaMandelc                     d }t           t          t          t          t          t           t           t           f}t          ||d           dS )z+Just make sure we can compile this
        c                     ||z
  |z  }||z
  |z  }	| |z  }
| |z  }||
|z  z   }|||	z  z   }t          ||          }d}t          |          D ]1}||z  |z   }|j        |j        z  |j        |j        z  z   dk    r|c S 2|S )Ny                   )complexrangerealimag)tidmin_xmax_xmin_ymax_ywidthheightiterspixel_size_xpixel_size_yxyr   r   czis                    c/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numba/cuda/tests/cudapy/test_mandel.pymandelz*TestCudaMandel.test_mandel.<locals>.mandel   s    !EMU2L!EMV3LeAeA1|++D1|++Dd##AA5\\  EAIFQVOafqvo5!;;HHH <L    T)deviceN)r   r   r   )selfr!   argss      r    test_mandelzTestCudaMandel.test_mandel   sG    	 	 	& '7(FD......r"   N)__name__
__module____qualname__r&    r"   r    r	   r	      s#        / / / / /r"   r	   __main__N)numbar   r   numba.cuda.compilerr   numba.cuda.testingr   r   TestCaser	   r'   mainr*   r"   r    <module>r1      s    ! ! ! ! ! ! ! ! + + + + + + 8 8 8 8 8 8 8 8 ;<</ / / / /X& / / =</: zHMOOOOO r"   