triton.language.extra.cuda.gdc_launch_dependents

triton.language.extra.cuda.gdc_launch_dependents(_semantic=None)

当在程序化依赖启动(programmatic dependent launch)下调用此操作时,它会发出信号,表示一旦当前内核中的所有程序都调用了此函数或执行完毕,下一个程序即可启动。

对该函数的重复调用在第一次调用之后不会产生任何影响,程序员应将第一次调用视为向运行时系统发出的启动下一个内核的提示。

即使在禁用了程序化依赖启动的情况下,执行此指令也是安全的。

更多详情请参阅 https://docs.nvda.net.cn/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-griddepcontrol