Patent ID: 9727338
Date: 2017-08-08
CPC Classifications: G06F

Claim:
1. A graphics processing unit (GPU) for translating functions of a program, comprising: multiple thread processors; a thread-shared memory coupled to said multiple thread processors of said GPU; a thread-private memory coupled to said multiple thread processors of said GPU; a local-scope variable identifier of said GPU operable to identify local-scope variables employed in at least some of said functions as being either thread-shared local-scope variables or thread-private local-scope variables, wherein said local-scope variable identifier comprises: a function translator of said GPU associated with said local-scope variable identifier and operable to translate said at least some of said functions to cause said thread-shared memory to be employed to store said thread-shared local-scope variables and said thread-private memory to be employed to store said thread-private local-scope variables.