检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张建定 陈根浪 明宗禹 ZHANG Jianding;CHEN Genlang;MING Zongyu(School of Artificial Intelligence,Zhejiang Sci-Tech University,Hangzhou 310018,China)
机构地区:[1]浙江理工大学人工智能学院,浙江杭州310018
出 处:《软件工程》2024年第10期74-78,共5页Software Engineering
摘 要:对CUDA核函数(CUDA Kernel Function)在静态下的评估预测是任务调度与程序优化的一个关键组成部分。文章通过对CUDA核函数的PTX(Parallel Thread Execution)进行代码分析和特性建模,精心设计了一个时间预测模型。该模型基于指令流水线的原理,可以在不执行程序的情况下,预测核函数在给定硬件环境下的执行时间。实验结果表明,该模型在预测CUDA核函数执行时间上的平均百分比误差为22.87%。这意味着该模型能够相对准确地预测核函数的执行时间,为任务调度系统提供参考,并辅助开发人员对程序进行优化。Static evaluation and prediction of CUDA kernel functions are key components in task scheduling and program optimization.This paper proposes to carefully devise a time prediction model through the analysis of PTX(Parallel Thread Execution)code and feature modeling of CUDA kernel functions.Based on the principles of instruction pipeline,the model can predict the execution time of kernel functions in a given hardware environment without executing the program.Experimental results indicate that the model achieves an average percentage error of 22.87%in predicting the execution time of CUDA kernel functions.This means the model can relatively accurately predict the execution time of kernel functions,providing a reference for task scheduling systems and assisting developers in program optimization.
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.221.21.242