7.31. cudaGraphKernelNodeUpdate 结构参考

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

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

公共变量

enum cudaGraphKernelNodeField field
uint3  gridDim
unsigned int  isEnabled
cudaGraphDeviceNode_t node
size_t  offset
const void * pValue
cudaGraphKernelNodeUpdate::@32::@33  param
size_t  size
cudaGraphKernelNodeUpdate::@32  updateData

变量

enum cudaGraphKernelNodeFieldcudaGraphKernelNodeUpdate::field [继承]

要应用的更新类型。 确定如何解释 updateData

uint3 cudaGraphKernelNodeUpdate::gridDim [继承]

网格维度

unsigned int cudaGraphKernelNodeUpdate::isEnabled [继承]

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

cudaGraphDeviceNode_tcudaGraphKernelNodeUpdate::node [继承]

要更新的节点

size_t cudaGraphKernelNodeUpdate::offset [继承]

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

const void * cudaGraphKernelNodeUpdate::pValue [继承]

要写入的内核参数数据

cudaGraphKernelNodeUpdate::@32::@33 cudaGraphKernelNodeUpdate::param [继承]

内核参数数据

size_t cudaGraphKernelNodeUpdate::size [继承]

要更新的字节数

cudaGraphKernelNodeUpdate::@32 cudaGraphKernelNodeUpdate::updateData [继承]

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