线程处理方法和图形处理器

文档序号:1102571 发布日期:2020-09-25 浏览:31次 >En<

阅读说明:本技术 线程处理方法和图形处理器 (Thread processing method and graphics processor ) 是由 林焕鑫 王卓立 马军超 单东方 沈伟锋 于 2018-02-14 设计创作,主要内容包括:一种应用于图形处理器的方法,该方法包括如下的步骤:第一线程处理器获取需要处理的第一待处理数据,确定第一待处理数据满足第一分支语句,将计数器中的数值加一步长。第一线程处理器根据计数器的数值确定M*N个线程中需运行第一分支语句的线程的数量。第一线程处理器在确认数量大于阈值的情况下,执行线程同步以及线程数据重映射,在有在第一分支的线程的数量较多的情况下,才使用线程数据重映射,可节约时间和运算资源。(A method for use in a graphics processor, the method comprising the steps of: the first thread processor obtains first data to be processed, determines that the first data to be processed satisfies a first branch statement, and increases the value in the counter by one step. The first thread processor determines the number of threads of the M x N threads that need to run the first branch statement based on the counter value. The first thread processor executes thread synchronization and thread data remapping when the number is confirmed to be larger than the threshold value, and uses the thread data remapping when the number of the threads of the first branch is large, thereby saving time and computing resources.)

59页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种分功能模块安装应用程序的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!