o
    i[                     @   sL   d dl Z d dlmZ d dlmZmZ G dd deZedkr$e  dS dS )    N)cuda)unittestCUDATestCasec                   @   s   e Zd Zdd ZdS )TestCudaMonteCarloc                 C   s   t ddd }dS )z+Just make sure we can compile this
        z=void(double[:], double[:], double, double, double, double[:])c                 S   sJ   t d}||jd krd S || }| | t|| ||   ||< d S )N   r   )r   gridshapemathexp)lastpathsdtc0c1normdistinoise r   d/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/numba/cuda/tests/cudapy/test_montecarlo.pystep   s
   
&z0TestCudaMonteCarlo.test_montecarlo.<locals>.stepN)r   jit)selfr   r   r   r   test_montecarlo   s   z"TestCudaMonteCarlo.test_montecarloN)__name__
__module____qualname__r   r   r   r   r   r      s    r   __main__)	r	   numbar   numba.cuda.testingr   r   r   r   mainr   r   r   r   <module>   s    