9.7.14.7. Control Flow Instructions: exit
exit
Terminate a thread.
Syntax
ptx
exit;Description
Ends execution of a thread.
Barriers exclusively waiting on arrivals from exited threads are always released.
PTX ISA Notes
Introduced in PTX ISA version 1.0.
Target ISA Notes
Supported on all target architectures.
Examples
ptx
exit;
@p exit;