OmniGraph Node omni.graph.tutorials.CudaCpuArraysPy¶
omni.graph.tutorials.CudaCpuArraysPy Properties¶
Name |
Value |
---|---|
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 |
uiName |
Python Tutorial Node: Attributes With CUDA Array Pointers In Cpu Memory |
__memoryType |
cuda |
__categories |
tutorials |
__language |
Python |
Generated Class Name |
OgnTutorialCudaDataCpuPyDatabase |
Python Module |
omni.graph.tutorials |
omni.graph.tutorials.CudaCpuArraysPy 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.
omni.graph.tutorials.CudaCpuArraysPy Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:multiplier |
float[3] |
[1.0, 1.0, 1.0] |
Y |
Amplitude of the expansion for the input points |
__default |
[1.0, 1.0, 1.0] |
|||
inputs:points |
float[3][] |
[] |
Y |
Array of points to be moved |
__default |
[] |
omni.graph.tutorials.CudaCpuArraysPy Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:points |
float[3][] |
None |
Y |
Final positions of points |