================
@@ -3206,6 +3211,90 @@ The `override.addr` operands are described in
 
 For more information, refer [PTX 
ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-cp-reduce-async-bulk-tensor).
 
+### Fabric family of Intrinsics
+
+#### Overview:
+
+The '`llvm.nvvm.fabric.*`' intrinsics correspond to the fabric operations of
+the PTX ISA.
+
+In LLVM IR, a fabric handle is an opaque `ptr addrspace(8)` value with a
+128-bit, non-integral representation and 16-byte ABI alignment. Address space 8
+represents resource handles, not a PTX state space. Handles may be passed 
through
+function arguments and returns, and through `phi` and `select` instructions.
+However, ordinary dereferences, pointer arithmetic, address-space casts, and
+integer conversions of handles are not supported.
+
+Memory accesses through fabric handles may alias accesses through global
+(`ptr addrspace(1)`) pointers.
+
+The trailing `%flag_*` arguments must be compile-time constants. Fabric
----------------
schwarzschild-radius wrote:

The first seems to be unrelated to the Fabric?

https://github.com/llvm/llvm-project/pull/229665
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to