[clang] [HLSL][docs] Document hlsl.h in the HLSL docs (PR #84081)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 11:36:41 PST 2024


================
@@ -114,6 +114,44 @@ not re-targetable, we want to share the Clang CodeGen implementation for HLSL
 with other GPU graphics targets like SPIR-V and possibly other GPU and even CPU
 targets.
 
+hlsl.h
+------
+
+HLSL has an extensive library of functionality. This is similar to OpenCL and
+CUDA. The implementation approach for the HLSL library functionality draws from
+patterns in use by OpenCL and other Clang resource headers.
----------------
damyanp wrote:

Would it be possible to have links to these similar headers for reference?

https://github.com/llvm/llvm-project/pull/84081


More information about the cfe-commits mailing list