Skip to content

novaphy.current_cuda_stream_is_capturing

Return whether NovaPhy's current thread-local CUDA stream is currently being captured.

if novaphy.current_cuda_stream_is_capturing():
    ...

See Also