.. _omni_graph_tutorials_CudaCpuArraysPy_1:

.. _omni_graph_tutorials_CudaCpuArraysPy:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Python Tutorial Node: Attributes With CUDA Array Pointers In Cpu Memory
    :keywords: lang-en omnigraph node tutorials tutorials cuda-cpu-arrays-py


Python Tutorial Node: Attributes With CUDA Array Pointers In Cpu Memory
=======================================================================

.. <description>

This is a tutorial node. It illustrates the alternative method of extracting pointers to GPU array data in which the pointer returned is a CPU pointer and can be dereferenced on the CPU side. Without the cudaPointers value set that pointer would be a GPU pointer to an array of GPU pointers and could only be dereferenced on the device. Both plain attribute and bundle attribute extraction are shown.

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.tutorials<ext_omni_graph_tutorials>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "inputs:multiplier", "``float[3]``", "Amplitude of the expansion for the input points", "[1.0, 1.0, 1.0]"
    "inputs:points", "``float[3][]``", "Array of points to be moved", "[]"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "outputs:outBundle", "``bundle``", "Bundle containing a copy of the output points", "None"
    "outputs:points", "``float[3][]``", "Final positions of points", "None"


Metadata
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "Unique ID", "omni.graph.tutorials.CudaCpuArraysPy"
    "Version", "1"
    "Extension", "omni.graph.tutorials"
    "Icon", "ogn/icons/omni.graph.tutorials.CudaCpuArraysPy.svg"
    "Has State?", "False"
    "Implementation Language", "Python"
    "Default Memory Type", "cuda"
    "Generated Code Exclusions", "None"
    "__memoryType", "cuda"
    "uiName", "Python Tutorial Node: Attributes With CUDA Array Pointers In Cpu Memory"
    "Categories", "tutorials"
    "Generated Class Name", "OgnTutorialCudaDataCpuPyDatabase"
    "Python Module", "omni.graph.tutorials"

