summaryrefslogtreecommitdiff
path: root/include/spirv/unified1
diff options
context:
space:
mode:
authorRaun Krisch <raun.krisch@gmail.com>2022-04-06 11:23:53 -0500
committerGitHub <noreply@github.com>2022-04-06 11:23:53 -0500
commit9c3fd01c8a91761b6e4be97ff4f13de76e779128 (patch)
tree61c6fa73cd8e9e54eaf46db3603f386bbcc32006 /include/spirv/unified1
parent5bb42a80dcc63dab7ebbb741277e7936de7eb168 (diff)
parent064395f0f8fab3258f1b1a1e91a9843796573d3a (diff)
downloadSPIRV-Headers-9c3fd01c8a91761b6e4be97ff4f13de76e779128.tar.gz
SPIRV-Headers-9c3fd01c8a91761b6e4be97ff4f13de76e779128.tar.bz2
SPIRV-Headers-9c3fd01c8a91761b6e4be97ff4f13de76e779128.zip
Merge pull request #270 from kpet/sycl
Add a SourceLanguage for SYCL
Diffstat (limited to 'include/spirv/unified1')
-rw-r--r--include/spirv/unified1/spirv.core.grammar.json4
-rw-r--r--include/spirv/unified1/spirv.cs1
-rw-r--r--include/spirv/unified1/spirv.h1
-rw-r--r--include/spirv/unified1/spirv.hpp1
-rw-r--r--include/spirv/unified1/spirv.hpp111
-rw-r--r--include/spirv/unified1/spirv.json3
-rw-r--r--include/spirv/unified1/spirv.lua1
-rw-r--r--include/spirv/unified1/spirv.py1
-rw-r--r--include/spirv/unified1/spv.d1
9 files changed, 13 insertions, 1 deletions
diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json
index 417127a..5461912 100644
--- a/include/spirv/unified1/spirv.core.grammar.json
+++ b/include/spirv/unified1/spirv.core.grammar.json
@@ -9434,6 +9434,10 @@
{
"enumerant" : "CPP_for_OpenCL",
"value" : 6
+ },
+ {
+ "enumerant" : "SYCL",
+ "value" : 7
}
]
},
diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs
index 2cc30a0..12431fc 100644
--- a/include/spirv/unified1/spirv.cs
+++ b/include/spirv/unified1/spirv.cs
@@ -62,6 +62,7 @@ namespace Spv
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
+ SYCL = 7,
}
public enum ExecutionModel
diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h
index 4389b21..02aec1f 100644
--- a/include/spirv/unified1/spirv.h
+++ b/include/spirv/unified1/spirv.h
@@ -70,6 +70,7 @@ typedef enum SpvSourceLanguage_ {
SpvSourceLanguageOpenCL_CPP = 4,
SpvSourceLanguageHLSL = 5,
SpvSourceLanguageCPP_for_OpenCL = 6,
+ SpvSourceLanguageSYCL = 7,
SpvSourceLanguageMax = 0x7fffffff,
} SpvSourceLanguage;
diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp
index ca228cf..9f99eca 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -66,6 +66,7 @@ enum SourceLanguage {
SourceLanguageOpenCL_CPP = 4,
SourceLanguageHLSL = 5,
SourceLanguageCPP_for_OpenCL = 6,
+ SourceLanguageSYCL = 7,
SourceLanguageMax = 0x7fffffff,
};
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11
index a0437a6..8e0b845 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -66,6 +66,7 @@ enum class SourceLanguage : unsigned {
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
+ SYCL = 7,
Max = 0x7fffffff,
};
diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json
index a525ed5..baa9345 100644
--- a/include/spirv/unified1/spirv.json
+++ b/include/spirv/unified1/spirv.json
@@ -72,7 +72,8 @@
"OpenCL_C": 3,
"OpenCL_CPP": 4,
"HLSL": 5,
- "CPP_for_OpenCL": 6
+ "CPP_for_OpenCL": 6,
+ "SYCL": 7
}
},
{
diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua
index 9143b8d..3812806 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -57,6 +57,7 @@ spv = {
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
+ SYCL = 7,
},
ExecutionModel = {
diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py
index fd25c8a..8aa9490 100644
--- a/include/spirv/unified1/spirv.py
+++ b/include/spirv/unified1/spirv.py
@@ -57,6 +57,7 @@ spv = {
'OpenCL_CPP' : 4,
'HLSL' : 5,
'CPP_for_OpenCL' : 6,
+ 'SYCL' : 7,
},
'ExecutionModel' : {
diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d
index dddff2b..0c9c164 100644
--- a/include/spirv/unified1/spv.d
+++ b/include/spirv/unified1/spv.d
@@ -65,6 +65,7 @@ enum SourceLanguage : uint
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
+ SYCL = 7,
}
enum ExecutionModel : uint