§
    qŠtj˜
  ã                   ó2   — d dl mZ dZdee         defd„ZdS )é    )ÚSequenceaµ  target triple = "nvptx64-unknown-cuda"
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"

define void @dummy_kernel() {{
entry:
  ret void
}}

!nvvm.annotations = !{{!0}}
!0 = !{{void ()* @dummy_kernel, !"kernel", i32 1}}

!nvvmir.version = !{{!1}}
!1 = !{{i32 {major}, i32 {minor}, i32 {debug_major}, i32 {debug_minor}}}
ÚoptionsÚreturnc                 óÌ  — 	 ddl m} n$# t          $ r}|j        dk    rY d}~dS ‚ d}~ww xY wddlm}  |d¦  «        dk    rdS |                     ¦   «         }	 |                     ¦   «         \  }}}}t           	                    ||||¬¦  «        }	|	 
                    d	¦  «        }
|                     ||
t          |
¦  «        d
¦  «         	 |                     |t          | ¦  «        | ¦  «         nC# |j        $ r6}|j        |j        j        k    rY d}~|                     |¦  «         dS ‚ d}~ww xY w	 |                     |¦  «         n# |                     |¦  «         w xY wdS )aa  
    Abstracted from https://github.com/NVIDIA/numba-cuda/pull/681

    Check if the specified options are supported by the current libNVVM version.

    The options are a list of strings, each representing a compiler option.

    If the test program fails to compile, the options are not supported and False
    is returned.

    If the test program compiles successfully, True is returned.

    cuda.bindings.nvvm returns exceptions instead of return codes.

    Parameters
    ----------
    options : Sequence[str]
        List of compiler options as strings (e.g., ["-arch=compute_90", "-g"]).

    Returns
    -------
    bool
        True if the options are supported, False otherwise.

    Examples
    --------
    >>> from cuda.bindings.utils import check_nvvm_compiler_options
    >>> check_nvvm_compiler_options(["-arch=compute_90", "-g"])
    True
    r   )Únvvmr   NF)Ú_inspect_function_pointerÚ__nvvmCreateProgram)ÚmajorÚminorÚdebug_majorÚdebug_minorzutf-8zprecheck.llT)Úcuda.bindingsr   ÚModuleNotFoundErrorÚnameÚcuda.bindings._internal.nvvmr   Úcreate_programÚ
ir_versionÚ_PRECHECK_NVVM_IRÚformatÚencodeÚadd_module_to_programÚlenÚcompile_programÚ	nvvmErrorÚstatusÚResultÚERROR_INVALID_OPTIONÚdestroy_program)r   r   Úexcr   Úprogramr
   r   r   r   Úprecheck_irÚprecheck_ir_bytesÚes               ú]/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/cuda/bindings/utils/_nvvm_utils.pyÚcheck_nvvm_compiler_optionsr%      sá  € ð>Ø&Ð&Ð&Ð&Ð&Ð&Ð&øÝð ð ð ØŒ8�vÒÐØ�5�5�5�5�5Øøøøøðøøøð
 GÐFÐFÐFÐFÐFà Ð Ð!6Ñ7Ô7¸1Ò<Ð<Øˆuà×!Ò!Ñ#Ô#€Gð&Ø15·²Ñ1BÔ1BÑ.ˆˆu�k ;Ý'×.Ò.ØØØ#Ø#ð	 /ñ 
ô 
ˆð (×.Ò.¨wÑ7Ô7ÐØ×"Ò"ØØÝÐ!Ñ"Ô"Øñ		
ô 	
ð 	
ð	Ø× Ò  ­#¨g©,¬,¸Ñ@Ô@Ð@Ð@øØŒ~ð 	ð 	ð 	ØŒx˜4œ;Ô;Ò;Ð;Ø�u�u�uð 	×Ò˜WÑ%Ô%Ð%Ð%Ð%ð øøøøð	øøøð Að 	×Ò˜WÑ%Ô%Ð%Ð%øˆ×Ò˜WÑ%Ô%Ð%Ð%øøøØˆ4sQ   ‚	 ‰
*“%¤%¥*ÁA1E
 Ã$C0 Ã/E
 Ã0
D0Ã:D+ÄE
 Ä*D+Ä+D0Ä0E
 Å
E!N)Útypingr   r   ÚstrÚboolr%   © ó    r$   ú<module>r+      sY   ðð Ð Ð Ð Ð Ð ðÐ ð C¨°#¬ð C¸4ð Cð Cð Cð Cð Cð Cr*   