Module Expr Str ImportFrom alias alias Import alias Import alias identifier ImportFrom alias alias alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Return NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad Str Num body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad Str body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad Str Num NameLoad NameLoad body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad orelse If CompareEq NameLoad TupleLoad body Assign NameStore TupleLoad Num Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult ListLoad Num NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad BinOpSub NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index BinOpAdd NameLoad Num orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr For NameStore Call NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index BinOpSub NameLoad Num SubscriptLoad NameLoad Index BinOpSub NameLoad Num orelse Raise Call NameLoad Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad Call NameLoad attr decorator_list NameLoad FunctionDef arguments args defaults vararg body Expr Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield Delete NameDel decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Expr Str Assert BoolOpOr UnaryOpNot NameLoad CompareIn Str NameLoad Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num For NameStore NameLoad body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Yield SubscriptLoad NameLoad Index Num orelse Expr Yield NameLoad decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Call NameLoad attr keyword NameLoad Return NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore ListLoad TupleLoad Str BinOpMod Str NameLoad AugAssignAdd NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr AugAssignAdd NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr If CompareLt NameLoad TupleLoad Num Num body Assign NameStore Str orelse Assign NameStore Str AugAssignAdd NameStore Num Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad Str Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Return CompareGt NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call NameLoad attr With AttributeLoad NameLoad attr body Expr Yield decorator_list AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr
N/A N/A 
API that are reported to numba.cuda
 __future__ print_function absolute_import N/A contextlib N/A numpy np cudadrv devicearray devices driver N/A N/A N/A long N/A N/A N/A NameError N/A N/A long int N/A require_context N/A devices require_context N/A current_context N/A devices get_context N/A gpus N/A devices gpus to_device N/A N/A obj stream copy to N/A 0 True None N/A N/A to_device(obj, stream=0, copy=True, to=None)

    Allocate and transfer a numpy ndarray or structured scalar to the device.

    To copy host->device a numpy array::

        ary = numpy.arange(10)
        d_ary = cuda.to_device(ary)

    To enqueue the transfer to a stream::

        stream = cuda.stream()
        d_ary = cuda.to_device(ary, stream=stream)

    The resulting ``d_ary`` is a ``DeviceNDArray``.

    To copy device->host::

        hary = d_ary.copy_to_host()

    To copy device->host to an existing array::

        ary = numpy.empty(shape=d_ary.shape, dtype=d_ary.dtype)
        d_ary.copy_to_host(ary)

    To enqueue the transfer to a stream::

        hary = d_ary.copy_to_host(stream=stream)
     N/A N/A to None N/A N/A N/A to new N/A N/A devicearray auto_device obj stream stream copy copy N/A to N/A copy N/A N/A N/A N/A to copy_to_device obj stream stream N/A to N/A require_context device_array N/A N/A shape dtype strides order stream N/A N/A np float None C 0 N/A N/A device_array(shape, dtype=np.float, strides=None, order='C', stream=0)

    Allocate an empty device ndarray. Similar to :meth:`numpy.empty`.
     N/A N/A shape strides dtype N/A _prepare_shape_strides_dtype shape strides dtype order N/A N/A N/A devicearray DeviceNDArray shape shape strides strides dtype dtype stream stream N/A require_context pinned_array N/A N/A shape dtype strides order N/A N/A np float None C N/A N/A pinned_array(shape, dtype=np.float, strides=None, order='C')

    Allocate a numpy.ndarray with a buffer that is pinned (pagelocked).
    Similar to numpy.empty().
     N/A N/A shape strides dtype N/A _prepare_shape_strides_dtype shape strides dtype order N/A bytesize N/A N/A driver memory_size_from_info shape strides N/A dtype itemsize N/A buffer N/A N/A N/A current_context memhostalloc bytesize N/A N/A N/A np ndarray shape shape strides strides dtype dtype order order buffer buffer N/A require_context mapped_array N/A N/A shape dtype strides order stream portable wc N/A N/A np float None C 0 False False N/A N/A mapped_array(shape, dtype=np.float, strides=None, order='C', stream=0, portable=False, wc=False)

    Allocate a mapped ndarray with a buffer that is pinned and mapped on
    to the device. Similar to numpy.empty()

    :param portable: a boolean flag to allow the allocated device memory to be
              usable in multiple devices.
    :param wc: a boolean flag to enable writecombined allocation which is faster
        to write by the host and to read by the device, but slower to
        write by the host and slower to write by the device.
     N/A N/A shape strides dtype N/A _prepare_shape_strides_dtype shape strides dtype order N/A bytesize N/A N/A driver memory_size_from_info shape strides N/A dtype itemsize N/A buffer N/A N/A N/A current_context memhostalloc bytesize mapped True N/A npary N/A N/A np ndarray shape shape strides strides dtype dtype order order buffer buffer N/A mappedview N/A N/A N/A np ndarray view npary type N/A devicearray MappedNDArray N/A N/A N/A mappedview device_setup buffer stream stream N/A mappedview N/A require_context synchronize N/A N/A N/A N/A N/A Synchronize the current context. N/A N/A N/A N/A current_context synchronize N/A _prepare_shape_strides_dtype N/A N/A shape strides dtype order N/A N/A N/A dtype N/A N/A np dtype dtype N/A N/A isinstance shape N/A int long N/A N/A shape N/A shape N/A N/A isinstance strides N/A int long N/A N/A strides N/A strides N/A N/A N/A shape N/A N/A N/A shape N/A 1 N/A strides N/A strides N/A _fill_stride_by_order shape dtype order N/A N/A shape strides dtype N/A _fill_stride_by_order N/A N/A shape dtype order N/A N/A N/A nd N/A len shape N/A strides N/A N/A 0 nd N/A N/A order C N/A N/A N/A strides N/A -1 N/A dtype itemsize N/A d N/A reversed N/A range N/A nd 1 N/A N/A N/A strides N/A d N/A N/A strides N/A N/A d 1 N/A shape N/A N/A d 1 N/A N/A N/A order F N/A N/A N/A strides N/A 0 N/A dtype itemsize N/A d N/A range 1 nd N/A N/A N/A strides N/A d N/A N/A strides N/A N/A d 1 N/A shape N/A N/A d 1 N/A N/A N/A ValueError must be either C/F order N/A N/A tuple strides N/A device_array_like N/A N/A ary stream N/A 0 N/A N/A Call cuda.devicearray() with information from the array.
     N/A N/A device_array shape N/A ary shape dtype N/A ary dtype strides N/A ary strides stream stream N/A stream N/A N/A N/A N/A N/A stream()

    Create a CUDA stream that represents a command queue for the device.
     N/A N/A N/A N/A current_context create_stream N/A require_context pinned N/A N/A N/A arylist N/A N/A A context manager for temporary pinning a sequence of host ndarrays.
     N/A pmlist N/A N/A ary arylist N/A N/A pm N/A N/A N/A current_context mempin ary N/A N/A driver host_pointer ary N/A N/A driver host_memory_size ary mapped False N/A N/A N/A pmlist append pm N/A N/A N/A pmlist N/A require_context N/A contextlib contextmanager mapped N/A N/A N/A arylist kws N/A N/A A context manager for temporarily mapping a sequence of host ndarrays.
     N/A N/A N/A kws N/A stream kws Only accept 'stream' as keyword. N/A pmlist N/A N/A stream N/A N/A kws get stream 0 N/A ary arylist N/A N/A pm N/A N/A N/A current_context mempin ary N/A N/A driver host_pointer ary N/A N/A driver host_memory_size ary mapped True N/A N/A N/A pmlist append pm N/A devarylist N/A N/A N/A ary pm N/A zip arylist pmlist N/A N/A devary N/A N/A devicearray from_array_like ary gpu_data pm stream stream N/A N/A N/A devarylist append devary N/A N/A N/A len devarylist 1 N/A N/A N/A N/A devarylist N/A 0 N/A N/A N/A devarylist N/A require_context N/A contextlib contextmanager event N/A N/A timing N/A True N/A N/A 
    Create a CUDA event. Timing data is only recorded by the event if it is
    created with ``timing=True``.
     N/A evt N/A N/A N/A current_context create_event timing timing N/A evt N/A N/A event_elapsed_time N/A driver event_elapsed_time select_device N/A N/A device_id N/A N/A N/A 
    Make the context associated with device *device_id* the current context.

    Returns a Device instance.

    Raises exception on error.
     N/A context N/A N/A devices get_context device_id N/A N/A context device N/A get_current_device N/A N/A N/A N/A N/A Get current device associated with the current thread N/A N/A N/A current_context device N/A list_devices N/A N/A N/A N/A N/A Return a list of all detected devices N/A N/A devices gpus N/A close N/A N/A N/A N/A N/A 
    Explicitly clears all contexts in the current thread, and destroys all
    contexts if the current thread is the main thread.
     N/A N/A N/A devices reset N/A _auto_device N/A N/A ary stream copy N/A 0 True N/A N/A N/A N/A devicearray auto_device ary stream stream copy copy N/A detect N/A N/A N/A N/A N/A 
    Detect supported CUDA hardware and print a summary of the detected hardware.

    Returns a boolean indicating whether any supported devices were detected.
     N/A devlist N/A list_devices N/A N/A print N/A Found %d CUDA devices N/A len devlist N/A supported_count 0 N/A dev devlist N/A N/A attrs N/A N/A cc N/A dev compute_capability N/A attrs N/A N/A compute capability N/A %d.%d cc N/A attrs N/A N/A pci device id N/A dev PCI_DEVICE_ID N/A attrs N/A N/A pci bus id N/A dev PCI_BUS_ID N/A N/A cc N/A 2 0 N/A N/A support [NOT SUPPORTED: CC < 2.0] N/A N/A support [SUPPORTED] N/A supported_count 1 N/A N/A print N/A id %d    %20s %40s N/A N/A dev id N/A dev name support N/A N/A key val attrs N/A N/A N/A print N/A %40s: %s N/A key val N/A N/A print Summary: N/A N/A print N/A 	%d/%d devices are supported N/A supported_count N/A len devlist N/A N/A supported_count 0 N/A defer_cleanup N/A N/A N/A N/A N/A tserv N/A N/A get_current_device trashing N/A N/A tserv defer_cleanup N/A N/A N/A N/A N/A contextlib contextmanager N/A profiling N/A require_context N/A driver profiling N/A profile_start N/A require_context N/A driver profile_start N/A profile_stop N/A require_context N/A driver profile_stop