Module ImportFrom alias alias alias Import alias Import alias TryExcept body ImportFrom alias Import alias identifier If CompareEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass Import alias identifier Import alias identifier If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Str orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert CompareEq Call NameLoad NameLoad Num If CompareNotEq Call NameLoad GeneratorExp Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad Num body Assign NameStore Call AttributeLoad Str attr BinOpAdd ListLoad BinOpAdd Str Str ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Raise Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareIsNot AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad BinOpAdd NameLoad Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert Call NameLoad ListComp Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad Assert CompareIsNot AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad BinOpMult Num CompareGt NameLoad Num keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num ListLoad Num Num Num body Raise Call NameLoad Str decorator_list
N/A __future__ absolute_import print_function division N/A numpy N/A theano N/A N/A nose.plugins.skip SkipTest N/A theano.sandbox.cuda cuda_ndarray N/A N/A N/A cuda_ndarray cuda_available False N/A N/A N/A SkipTest Optional package cuda disabled N/A N/A N/A ImportError N/A N/A N/A theano.sandbox.cuda cuda N/A theano.sandbox.cuda.basic_ops B N/A N/A N/A N/A theano config mode FAST_COMPILE N/A N/A mode_with_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_mode FAST_RUN including gpu N/A N/A mode_with_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_default_mode including gpu test_nvidia_driver1 N/A N/A N/A N/A N/A  Some nvidia driver give bad result for reduction
        This execute some reduction test to ensure it run correctly
     N/A a N/A N/A N/A N/A N/A numpy random rand 10000 astype float32 N/A A N/A N/A cuda shared_constructor a N/A f N/A N/A theano function inputs N/A outputs N/A N/A A sum mode mode_with_gpu profile False N/A topo N/A N/A N/A N/A f maker fgraph toposort N/A N/A N/A len topo 2 N/A N/A N/A sum N/A N/A isinstance N/A node op N/A B GpuCAReduce N/A node topo 1 N/A N/A msg N/A N/A join N/A N/A N/A Expected exactly one occurrence of GpuCAReduce  but got: N/A N/A str app N/A app topo N/A N/A AssertionError msg N/A N/A N/A N/A numpy allclose N/A f N/A N/A a sum N/A N/A N/A Exception The nvidia driver version installed with this OS does not give good results for reduction.Installing the nvidia driver available on the same download page as the cuda package will fix the problem: http://developer.nvidia.com/cuda-downloads N/A test_nvidia_driver2 N/A N/A N/A N/A N/A  Test that the gpu device is initialized by theano when
        we manually make a shared variable on the gpu.

        The driver should always be tested during theano initialization
        of the gpu device
     N/A a N/A N/A N/A N/A N/A numpy random rand 10000 astype float32 N/A N/A N/A cuda shared_constructor a N/A N/A N/A N/A N/A N/A theano sandbox cuda use device_number None N/A test_nvidia_driver3 N/A N/A N/A N/A N/A  Test that the gpu device is initialized by theano when
        we build a function with gpu op.

        The driver should always be tested during theano initialization
        of the gpu device
     N/A var N/A N/A cuda fvector N/A f N/A N/A theano function N/A var N/A var 1 mode mode_with_gpu profile False N/A topo N/A N/A N/A N/A f maker fgraph toposort N/A N/A any N/A N/A isinstance N/A node op N/A cuda GpuElemwise N/A node topo N/A N/A N/A N/A N/A N/A theano sandbox cuda use device_number None N/A test_nvcc_cast N/A N/A N/A N/A N/A Test that the casting behaviour is correct.

    Some versions of nvcc, in particular the one in 6.5.14, return an incorrect
    value in this case.

    Reported by Zijung Zhang at
    https://groups.google.com/d/topic/theano-dev/LzHtP2OWeRE/discussion
     N/A var N/A N/A N/A theano tensor fvector N/A f N/A N/A theano function N/A var N/A -1.0 N/A var 0 mode mode_with_gpu N/A N/A N/A N/A numpy allclose N/A f N/A -1 0 1 N/A 0 0 -1 N/A N/A N/A Exception The version of nvcc that Theano detected on your system has a bug during conversion from integers to floating point. Installing CUDA 7.0 (or more recent) should fix the problem. N/A