cuda.core.graph.ExecutableHostCallbackNode#

class cuda.core.graph.ExecutableHostCallbackNode#

An executable host-callback-node view.

Methods

__init__(*args, **kwargs)#
update(self, fn, *, user_data=None) None#

Replace the callback and user-data binding for future launches.

Warning

Callbacks must not call CUDA API functions. Doing so may deadlock or corrupt driver state.