Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Num Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If BoolOpAnd CompareGt Call NameLoad NameLoad Num CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Return Dict Str Str Str Str NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Str keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Str keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad TupleLoad TupleLoad body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Str ListLoad Str ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list
N/A N/A os N/A shutil N/A subprocess N/A sys N/A tempfile install utils N/A minimum_cuda_version 6050 N/A minimum_cudnn_version 2000 get_compiler_setting N/A N/A N/A N/A N/A nvcc_path N/A N/A utils search_on_path N/A nvcc nvcc.exe N/A cuda_path_default None N/A N/A nvcc_path None N/A N/A N/A N/A utils print_warning nvcc not in path. Please set path to nvcc. N/A N/A cuda_path_default N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path dirname nvcc_path .. N/A cuda_path N/A N/A N/A os environ get CUDA_PATH N/A N/A N/A N/A len cuda_path 0 N/A cuda_path cuda_path_default N/A N/A N/A N/A utils print_warning nvcc path != CUDA_PATH N/A nvcc path: %s cuda_path_default N/A CUDA_PATH: %s cuda_path N/A N/A N/A N/A N/A os path exists cuda_path N/A N/A cuda_path cuda_path_default N/A N/A N/A cuda_path N/A N/A N/A os path exists /usr/local/cuda N/A N/A cuda_path /usr/local/cuda N/A include_dirs N/A N/A library_dirs N/A N/A define_macros N/A N/A cuda_path N/A N/A N/A N/A include_dirs append N/A N/A N/A os path join cuda_path include N/A N/A N/A sys platform win32 N/A N/A N/A N/A library_dirs append N/A N/A N/A os path join cuda_path bin N/A N/A N/A library_dirs append N/A N/A N/A os path join cuda_path lib x64 N/A N/A N/A N/A library_dirs append N/A N/A N/A os path join cuda_path lib64 N/A N/A N/A library_dirs append N/A N/A N/A os path join cuda_path lib N/A N/A N/A sys platform darwin N/A N/A N/A N/A library_dirs append /usr/local/cuda/lib N/A N/A include_dirs library_dirs define_macros language include_dirs library_dirs define_macros c++ N/A check_cuda_version N/A N/A compiler settings N/A N/A N/A N/A N/A out N/A build_and_run compiler 
        #include <cuda.h>
        #include <stdio.h>
        int main(int argc, char* argv[]) {
          printf("%d", CUDA_VERSION);
          return 0;
        }
         include_dirs N/A settings N/A include_dirs N/A N/A N/A Exception N/A e N/A N/A N/A N/A utils print_warning Cannot check CUDA version N/A str e N/A False N/A cuda_version N/A int out N/A N/A cuda_version minimum_cuda_version N/A N/A N/A N/A utils print_warning N/A CUDA version is too old: %d cuda_version CUDA v6.5 or newer is required N/A False N/A True N/A check_cudnn_version N/A N/A compiler settings N/A N/A N/A N/A N/A out N/A build_and_run compiler 
        #include <cudnn.h>
        #include <stdio.h>
        int main(int argc, char* argv[]) {
          printf("%d", CUDNN_VERSION);
          return 0;
        }
         include_dirs N/A settings N/A include_dirs N/A N/A N/A Exception N/A e N/A N/A N/A N/A utils print_warning N/A N/A Cannot check cuDNN version
{0} format e N/A False N/A cudnn_version N/A int out N/A N/A cudnn_version minimum_cudnn_version N/A N/A N/A N/A utils print_warning N/A cuDNN version is too old: %d cudnn_version cuDNN v2 or newer is required N/A False N/A True N/A build_and_run N/A N/A compiler source libraries include_dirs library_dirs N/A N/A N/A N/A N/A N/A temp_dir N/A N/A tempfile mkdtemp N/A N/A N/A fname N/A N/A N/A os path join temp_dir a.cpp N/A N/A open fname w f N/A N/A N/A N/A f write source N/A objects N/A N/A compiler compile N/A fname output_dir temp_dir include_dirs include_dirs N/A N/A N/A postargs N/A N/A N/A sys platform win32 N/A /MANIFEST N/A N/A N/A N/A compiler link_executable objects N/A N/A N/A os path join temp_dir a libraries libraries library_dirs library_dirs extra_postargs postargs target_lang c++ N/A N/A N/A Exception N/A e N/A N/A msg N/A N/A Cannot build a stub file.
Original error: {0} format e N/A N/A Exception msg N/A N/A N/A out N/A N/A subprocess check_output N/A N/A N/A os path join temp_dir a N/A out N/A N/A N/A Exception N/A e N/A N/A msg N/A N/A Cannot execute a stub file.
Original error: {0} format e N/A N/A Exception msg N/A N/A N/A N/A shutil rmtree temp_dir ignore_errors True N/A