
    xKg=                         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                          yy)	    )float64uint32)compile_ptx)skip_on_cudasimunittestz(Compilation unsupported in the simulatorc                       e Zd Zd Zy)TestCudaMandelc                 z    d }t         t        t        t        t        t         t         t         f}t        ||d       y)z+Just make sure we can compile this
        c                    ||z
  |z  }||z
  |z  }	| |z  }
| |z  }||
|z  z   }|||	z  z   }t        ||      }d}t        |      D ]D  }||z  |z   }|j                  |j                  z  |j                  |j                  z  z   dk\  sB|c S  |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                    g/home/alanp/www/video.onchill/myenv/lib/python3.12/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FFQVVOaffqvvo5!;H " L    T)deviceN)r   r   r   )selfr!   argss      r    test_mandelzTestCudaMandel.test_mandel   s.    	& '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      sO    ! + 8 ;</X&& / =/: zHMMO r"   