Function tvm::tirx::gpu_active_thread_selector_op

Function tvm::tirx::gpu_active_thread_selector_op#

Function Documentation#

const Op &tvm::tirx::gpu_active_thread_selector_op()#

Analysis-only active-thread selector.

gpu_active_thread_selector(var, pred) denotes the unique value of var in the current active domain for which pred is true. It is used only inside ExecContext/DispatchContext metadata, for predicates such as ptx.elect_sync() whose selected lane cannot be inferred structurally.