Script.warp_group¶
- Script.warp_group(warp_begin, num_warps)¶
Create a thread group context with multiple warps.
This method is equivalent to thread_group(<first-thread-in-the-first-warp>, num_threads=num_warps*32) that creates a thread group context with multiple warps. All instructions within the context will be executed by the specified number of warps.
- Returns:
ret – The thread group context created.
- Return type:
ThreadGroupContext
- Parameters:
warp_begin (int)
num_warps (int)