Invention Grant
- Patent Title: Emitting coherent output from multiple threads for printf
- Patent Title (中): 从printf的多个线程发出相干输出
-
Application No.: US13165629Application Date: 2011-06-21
-
Publication No.: US08752018B2Publication Date: 2014-06-10
- Inventor: Stephen Jones , Geoffrey Gerfin
- Applicant: Stephen Jones , Geoffrey Gerfin
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Patterson & Sheridan, LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
One embodiment of the present invention sets forth a technique for emitting coherent output from multiple threads for the printf( ) function. Additionally, parallel (not divergent) execution of the threads for the printf( ) function is maintained when possible to improve run-time performance. Processing of the printf( ) function is separated into two tasks, gathering of the per thread data and formatting the gathered data according to the formatting codes for display. The threads emit a coherent stream of contiguous segments, where each segment includes the format string for the printf( ) function and the gathered data for a thread. The coherent stream is written by the threads and read by a display processor. The display processor executes a single thread to format the gathered data according to the format string for display.
Public/Granted literature
- US20120331470A1 EMITTING COHERENT OUTPUT FROM MULTIPLE THREADS FOR PRINTF Public/Granted day:2012-12-27
Information query