RECONFIGURING REGISTER AND SHARED MEMORY USAGE IN THREAD ARRAYS

    公开(公告)号:US20230297426A1

    公开(公告)日:2023-09-21

    申请号:US17698664

    申请日:2022-03-18

    IPC分类号: G06F9/50 G06F9/30

    摘要: Various embodiments include techniques for utilizing resources on a processing unit. Thread groups executing on a processor begin execution with specified resources, such as a number of registers and an amount of shared memory. During execution, one or more thread groups may determine that the thread groups have excess resources needed to execute the current functions. Such thread groups can deallocate the excess resources to a free pool. Similarly, during execution, one or more thread groups may determine that the thread groups have fewer resources needed to execute the current functions. Such thread groups can allocate the needed resources from the free pool. Further, producer thread groups that generate data for consumer thread groups can deallocate excess resources prior to completion. The consumer thread groups can allocate the excess resources and initiate execution while the producer thread groups complete execution, thereby decreasing latency between producer and consumer thread groups.