-
公开(公告)号:US20240319904A1
公开(公告)日:2024-09-26
申请号:US18407990
申请日:2024-01-09
Applicant: MediaTek Inc.
Inventor: Pao-Hung Kuo , Po-Chun Fan , Sheng-Yen Yang
IPC: G06F3/06
CPC classification number: G06F3/065 , G06F3/0604 , G06F3/0659 , G06F3/0683
Abstract: A method of managing access to a first memory via a second memory includes autonomously copying data from one or more of the data blocks in the first plurality of data blocks in the first memory to corresponding one or more of the data blocks in the second plurality of data blocks in the second memory sequentially. Access to the first memory with a first plurality of data blocks is at a first speed and access to the second memory with a second plurality of data blocks is at a second speed. A command is received for reading from the second memory. Responsive to receiving the command, a pointer is obtained indicating an address of a data block in the second memory that contains data copied from the first memory and that is first available for access. The data is obtained from the data block based on the pointer.
-
公开(公告)号:US09898288B2
公开(公告)日:2018-02-20
申请号:US14982257
申请日:2015-12-29
Applicant: MediaTek Inc.
Inventor: Yan-Hong Lu , Jia-Yang Chang , Pao-Hung Kuo , Chia-Chi Chang , Pei-Kuei Tsung
IPC: G06F9/30
CPC classification number: G06F9/30061 , G06F9/30 , G06F9/3009
Abstract: A computer-implemented method of executing an instruction sequence with a recursive function call of a plurality of threads within a thread group in a Single-Instruction-Multiple-Threads (SIMT) system is provided. Each thread is provided with a function call counter (FCC), an active mask, an execution mask and a per-thread program counter (PTPC). The instruction sequence with the recursive function call is executed by the threads in the thread group according to a program counter (PC) indicating a target. Upon executing the recursive function call, for each thread, the active mask is set according to the PTPC and the target indicated by the PC, the FCC is determined when entering or returning from the recursive function call, the execution mask is determined according to the FCC and the active mask. It is determined whether an execution result of the recursive function call takes effects according to the execution mask.
-