C++ AMP for the DirectCompute Programmer

时间:2020-01-27 08:35:43
【文件属性】:

文件名称:C++ AMP for the DirectCompute Programmer

文件大小:735KB

文件格式:PDF

更新时间:2020-01-27 08:35:43

AMP

DirectCompute draws a sharp distinction between the code that runs on the host (typical C or C++) and the code that runs on the device (C-like HLSL kernel code). The host code and the device code typically reside in different files usually with different filename extensions: .c or .cpp versus .hlsl. Moreover, if the HLSL kernel code is compiled offline, there are two binaries that must be produced. In C++ AMP, the distinction is still there, but the code is all written in C++, it can all exist in a single file, and a single binary is produced by a single compiler


网友评论