首页 | 本学科首页   官方微博 | 高级检索  
     

基于特征向量匹配的CUDA程序PTX代码提取
引用本文:李男,庞建民,单征. 基于特征向量匹配的CUDA程序PTX代码提取[J]. 信息工程大学学报, 2014, 15(5): 628-630
作者姓名:李男  庞建民  单征
作者单位:数学工程与先进计算国家重点实验室,河南郑州,450001
基金项目:国家自然科学基金资助项目,国家科技重大专项资助项目
摘    要:将CUDA程序移植到其它异构众核处理器平台,对扩展CUDA程序应用范围并发挥目标平台的众核优势具有现实意义。采用二进制翻译技术移植CUDA程序时,PTX代码的识别和提取是关键。从软件逆向角度,通过静态分析方法评价了PTX代码提取的可行性,抽象出PTX提取模型,设计了基于特征向量匹配PTX代码提取算法。实验结果表明,这种提取方法成功率接近100%。

关 键 词:CUDA  二进制翻译  PTX  特征向量

PTX Code Extraction in CUDA Program Based on Characteristic Vector Matching
LI Nan,PANG Jian-min,SHAN Zheng. PTX Code Extraction in CUDA Program Based on Characteristic Vector Matching[J]. , 2014, 15(5): 628-630
Authors:LI Nan  PANG Jian-min  SHAN Zheng
Affiliation:(State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China)
Abstract:Porting CUDA program to other heterogeneous and many core target platforms is significant for enriching CUDA application and taking advantage of many core property. When porting the CUDA program with the technology of binary translation, the identification and extraction of PTX code is the key step. On the perspective of software converse, the feasibility of the PTX code extraction is evaluated based on the static analysis of CUDA binary code. A model is proposed for PTX code extraction and the corresponding algorithm is designed based on characteristic vector matching. The experimental result validates the correctness of the algorithm.
Keywords:CUDA   binary translation   PTX   characteristic vector
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《信息工程大学学报》浏览原始摘要信息
点击此处可从《信息工程大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号