7.31. cudaGraphKernelNodeUpdate 结构体参考

[CUDA运行时使用的数据类型]

用于指定单个节点更新的结构体,作为较大数组的一部分传递给cudaGraphKernelNodeUpdatesApply

公共变量

enumcudaGraphKernelNodeField field
uint3  gridDim
unsigned int  isEnabled
cudaGraphDeviceNode_t node
size_t  offset
const void * pValue
cudaGraphKernelNodeUpdate::@32::@33  param
size_t  大小
cudaGraphKernelNodeUpdate::@32  updateData

变量

enumcudaGraphKernelNodeFieldcudaGraphKernelNodeUpdate::field [inherited]

应用哪种类型的更新。决定如何解释updateData

uint3 cudaGraphKernelNodeUpdate::gridDim [inherited]

网格维度

unsigned int cudaGraphKernelNodeUpdate::isEnabled [inherited]

节点启用/禁用数据。如果节点应启用则为非零值,如果应禁用则为0

cudaGraphDeviceNode_tcudaGraphKernelNodeUpdate::node [inherited]

需要更新的节点

size_t cudaGraphKernelNodeUpdate::offset [inherited]

在参数缓冲区中应用更新的偏移量

const void * cudaGraphKernelNodeUpdate::pValue [inherited]

要写入的内核参数数据

cudaGraphKernelNodeUpdate::@32::@33 cudaGraphKernelNodeUpdate::param [inherited]

内核参数数据

size_t cudaGraphKernelNodeUpdate::大小 [inherited]

要更新的字节数

cudaGraphKernelNodeUpdate::@32 cudaGraphKernelNodeUpdate::updateData [inherited]

更新要应用的数据。使用哪个字段取决于字段的值