Add a SourceLanguage for SYCL

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Ib12851c89000bbda7bf516a30146ca6f63f98419
This commit is contained in:
Kevin Petit 2022-03-17 16:39:25 +00:00
parent 4995a2f272
commit 064395f0f8
9 changed files with 13 additions and 1 deletions

View File

@ -9434,6 +9434,10 @@
{
"enumerant" : "CPP_for_OpenCL",
"value" : 6
},
{
"enumerant" : "SYCL",
"value" : 7
}
]
},

View File

@ -62,6 +62,7 @@ namespace Spv
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
}
public enum ExecutionModel

View File

@ -70,6 +70,7 @@ typedef enum SpvSourceLanguage_ {
SpvSourceLanguageOpenCL_CPP = 4,
SpvSourceLanguageHLSL = 5,
SpvSourceLanguageCPP_for_OpenCL = 6,
SpvSourceLanguageSYCL = 7,
SpvSourceLanguageMax = 0x7fffffff,
} SpvSourceLanguage;

View File

@ -66,6 +66,7 @@ enum SourceLanguage {
SourceLanguageOpenCL_CPP = 4,
SourceLanguageHLSL = 5,
SourceLanguageCPP_for_OpenCL = 6,
SourceLanguageSYCL = 7,
SourceLanguageMax = 0x7fffffff,
};

View File

@ -66,6 +66,7 @@ enum class SourceLanguage : unsigned {
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
Max = 0x7fffffff,
};

View File

@ -72,7 +72,8 @@
"OpenCL_C": 3,
"OpenCL_CPP": 4,
"HLSL": 5,
"CPP_for_OpenCL": 6
"CPP_for_OpenCL": 6,
"SYCL": 7
}
},
{

View File

@ -57,6 +57,7 @@ spv = {
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
},
ExecutionModel = {

View File

@ -57,6 +57,7 @@ spv = {
'OpenCL_CPP' : 4,
'HLSL' : 5,
'CPP_for_OpenCL' : 6,
'SYCL' : 7,
},
'ExecutionModel' : {

View File

@ -65,6 +65,7 @@ enum SourceLanguage : uint
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
}
enum ExecutionModel : uint