[Mlir-commits] [mlir] [MLIR] SPIRV Target Attribute (PR #69949)
Fabian Mora
llvmlistbot at llvm.org
Tue Oct 24 06:53:48 PDT 2023
================
@@ -166,4 +166,35 @@ def SPIRV_ResourceLimitsAttr : SPIRV_Attr<"ResourceLimits", "resource_limits"> {
let assemblyFormat = "`<` struct(params) `>`";
}
+//===----------------------------------------------------------------------===//
+// SPIRV target attribute.
+//===----------------------------------------------------------------------===//
+
+def SPIRV_TargetAttr : SPIRV_Attr<"SPIRVTarget", "target"> {
+ let description = [{
+ GPU target attribute for controlling compilation of SPIRV targets.
+ }];
+ let parameters = (ins
----------------
fabianmcg wrote:
What is the purpose of all of these parameters? I couldn't find the place where they are being used, are they being used at a later patch, or are they only informational?
https://github.com/llvm/llvm-project/pull/69949
More information about the Mlir-commits
mailing list