High level languages for GPUs

I. Buck
{"title":"High level languages for GPUs","authors":"I. Buck","doi":"10.1145/1198555.1198772","DOIUrl":null,"url":null,"abstract":"• HLSL and Cg are syntactically almost identical • Exception: Cg 1.3 allows shader “interfaces”, unsized arrays • Command line compilers • Microsoft’s FXC.exe • Compiles to DirectX vertex and pixel shader assembly only • fxc /Tps_2_0 myshader.hlsl • NVIDIA’s CGC.exe • Compiles to everything • cgc -profile ps_2_0 myshader.cg • Can generate very different assembly! • Driver will recompile code • Compliance may vary","PeriodicalId":192758,"journal":{"name":"ACM SIGGRAPH 2005 Courses","volume":"153 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SIGGRAPH 2005 Courses","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1198555.1198772","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

• HLSL and Cg are syntactically almost identical • Exception: Cg 1.3 allows shader “interfaces”, unsized arrays • Command line compilers • Microsoft’s FXC.exe • Compiles to DirectX vertex and pixel shader assembly only • fxc /Tps_2_0 myshader.hlsl • NVIDIA’s CGC.exe • Compiles to everything • cgc -profile ps_2_0 myshader.cg • Can generate very different assembly! • Driver will recompile code • Compliance may vary
gpu的高级语言
•HLSL和Cg在语法上几乎相同•例外:Cg 1.3允许着色器“接口”,不大小数组•命令行编译器•微软的fxc .exe•编译到DirectX顶点和像素着色器组装仅•fxc /Tps_2_0 myshader。•cgc -profile ps2_0 myshader。cg•可以生成非常不同的组装!•驱动程序将重新编译代码•遵从性可能有所不同
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信