OmniGraph Node omni.graph.tutorials.CudaCpuArrays

omni.graph.tutorials.CudaCpuArrays Properties

Name

Value

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.graph.tutorials.CudaCpuArrays.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cuda

Generated Code Exclusions

None

uiName

Tutorial Node: Attributes With CUDA Array Pointers In Cpu Memory

__memoryType

cuda

__categories

tutorials

Generated Class Name

OgnTutorialCudaDataCpuDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.CudaCpuArrays 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.CudaCpuArrays 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

__memoryType

any

__default

[]

omni.graph.tutorials.CudaCpuArrays Outputs

Name

Type

Default

Required?

Descripton

outputs:points

float[3][]

None

Y

Final positions of points