7.32. cudaGraphNodeParams 结构体参考

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

图节点参数。参见 cudaGraphAddNode

公共变量

struct cudaMemAllocNodeParamsV2 alloc
struct cudaConditionalNodeParams conditional
struct cudaEventRecordNodeParams eventRecord
struct cudaEventWaitNodeParams eventWait
struct cudaExternalSemaphoreSignalNodeParamsV2 extSemSignal
struct cudaExternalSemaphoreWaitNodeParamsV2 extSemWait
struct cudaMemFreeNodeParams free
struct cudaChildGraphNodeParams graph
struct cudaHostNodeParamsV2 host
struct cudaKernelNodeParamsV2 kernel
struct cudaMemcpyNodeParams memcpy
struct cudaMemsetParamsV2 memset
int  reserved0[3]
long long  reserved1[29]
long long  reserved2
enumcudaGraphNodeType type

变量

struct cudaMemAllocNodeParamsV2cudaGraphNodeParams::alloc [继承]

内存分配节点参数。

struct cudaConditionalNodeParamscudaGraphNodeParams::conditional [继承]

条件节点参数。

struct cudaEventRecordNodeParamscudaGraphNodeParams::eventRecord [继承]

事件记录节点参数。

struct cudaEventWaitNodeParamscudaGraphNodeParams::eventWait [继承]

事件等待节点参数。

struct cudaExternalSemaphoreSignalNodeParamsV2cudaGraphNodeParams::extSemSignal [继承]

外部信号量信号节点参数。

struct cudaExternalSemaphoreWaitNodeParamsV2cudaGraphNodeParams::extSemWait [继承]

外部信号量等待节点参数。

struct cudaMemFreeNodeParamscudaGraphNodeParams::free [继承]

内存释放节点参数。

struct cudaChildGraphNodeParamscudaGraphNodeParams::graph [继承]

子图节点参数。

struct cudaHostNodeParamsV2cudaGraphNodeParams::host [继承]

主机节点参数。

struct cudaKernelNodeParamsV2cudaGraphNodeParams::kernel [继承]

内核节点参数。

struct cudaMemcpyNodeParamscudaGraphNodeParams::memcpy [继承]

Memcpy 节点参数。

struct cudaMemsetParamsV2cudaGraphNodeParams::memset [继承]

Memset 节点参数。

int cudaGraphNodeParams::reserved0[3] [继承]

保留。必须为零。

long long cudaGraphNodeParams::reserved1[29] [继承]

填充。未使用的字节必须为零。

long long cudaGraphNodeParams::reserved2 [继承]

保留字节。必须为零。

enumcudaGraphNodeTypecudaGraphNodeParams::type [继承]

节点类型