{"pub_number":"US9268595B2","doc_number":"9268595","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Scheduling thread execution based on thread affinity","abstract_text":"In accordance with some embodiments, spatial and temporal locality between threads executing on graphics processing units may be analyzed and tracked in order to improve performance. In some applications where a large number of threads are executed and those threads use common resources such as common data, affinity tracking may be used to improve performance by reducing the cache miss rate and to more effectively use relatively small-sized caches.","claims":[{"number":1,"text":"A method comprising: breaking a repetitive graphics processing task into steps, wherein one of the steps is performed in more than one task; performing the one step across at least two tasks; identifying affinities between said at least two tasks using address shift logic; using a driver to configure the address shift logic, said driver to set the number of bits to be shifted based on available cache size, said shift logic to output a memory slice index; and ordering threads performing said at least two tasks to take advantage of affinity between said at least two tasks.","independent":true},{"number":2,"text":"The method of  claim 1  including denominating threads with the same memory slice index as having affinity.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of  claim 2  including setting up a two-dimensional affinity sampling table whose index field is the memory s","independent":false,"depends_on":[2]}],"description":"","inventors":[{"name":"Chen Feng","slug":"chen-feng","country":"CN"},{"name":"Hao Yan","slug":"hao-yan","country":"CN"},{"name":"Fu Jin","slug":"fu-jin","country":"CN"}],"assignees":[{"name":"Chen Feng","slug":"chen-feng","country":"CN"},{"name":"Hao Yan","slug":"hao-yan","country":"CN"},{"name":"Fu Jin","slug":"fu-jin","country":"CN"},{"name":"Intel Corp","slug":"intel-corp","country":"US"}],"examiners":["Truong Camquy"],"cpc_codes":["G06F 9/46","G06F 9/4881","G06F 9/5033","G06T 15/00"],"ipc_codes":["G06F 9/46","G06F 9/48","G06F 9/50","G06T 15/00"],"filing_date":"2011-11-15","pub_date":"2016-02-23","grant_date":"2016-02-23","priority_date":"2011-11-15","expiration_date":"2031-11-15","application_number":"US-201113993706-A","family_id":"FAM-48428927","family_members":[],"citations_made":[{"pub_number":"US5467459A","category":"SEA"},{"pub_number":"CN101076783A","category":"APP"},{"pub_number":"CN101286138A","category":"APP"},{"pub_number":"US7467383B2","category":"SEA"},{"pub_number":"US2009113284A1","category":"SEA"},{"pub_number":"US2009187915A1","category":"SEA"},{"pub_number":"CN101615120A","category":"APP"}],"non_patent_literature":["PCT International Search Report and Written Opinion issued in corresponding PCT/CN2011/082215 dated Jul. 19, 2012 (10 pages)."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":5,"indexed_forward_citations":5,"backward_citations":7,"npl_citations":1,"citations_per_year":0.5,"pagerank":1.0772625207901,"citation_rank":22481126,"pagerank_rank":37608717,"velocity_rank":16364626,"family_citations":5}}