mirror of
https://gitee.com/openharmony/third_party_spirv-headers
synced 2024-11-26 17:20:34 +00:00
Add a SourceLanguage for SYCL
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: Ib12851c89000bbda7bf516a30146ca6f63f98419
This commit is contained in:
parent
4995a2f272
commit
064395f0f8
@ -9434,6 +9434,10 @@
|
||||
{
|
||||
"enumerant" : "CPP_for_OpenCL",
|
||||
"value" : 6
|
||||
},
|
||||
{
|
||||
"enumerant" : "SYCL",
|
||||
"value" : 7
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -62,6 +62,7 @@ namespace Spv
|
||||
OpenCL_CPP = 4,
|
||||
HLSL = 5,
|
||||
CPP_for_OpenCL = 6,
|
||||
SYCL = 7,
|
||||
}
|
||||
|
||||
public enum ExecutionModel
|
||||
|
@ -70,6 +70,7 @@ typedef enum SpvSourceLanguage_ {
|
||||
SpvSourceLanguageOpenCL_CPP = 4,
|
||||
SpvSourceLanguageHLSL = 5,
|
||||
SpvSourceLanguageCPP_for_OpenCL = 6,
|
||||
SpvSourceLanguageSYCL = 7,
|
||||
SpvSourceLanguageMax = 0x7fffffff,
|
||||
} SpvSourceLanguage;
|
||||
|
||||
|
@ -66,6 +66,7 @@ enum SourceLanguage {
|
||||
SourceLanguageOpenCL_CPP = 4,
|
||||
SourceLanguageHLSL = 5,
|
||||
SourceLanguageCPP_for_OpenCL = 6,
|
||||
SourceLanguageSYCL = 7,
|
||||
SourceLanguageMax = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
@ -66,6 +66,7 @@ enum class SourceLanguage : unsigned {
|
||||
OpenCL_CPP = 4,
|
||||
HLSL = 5,
|
||||
CPP_for_OpenCL = 6,
|
||||
SYCL = 7,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
@ -72,7 +72,8 @@
|
||||
"OpenCL_C": 3,
|
||||
"OpenCL_CPP": 4,
|
||||
"HLSL": 5,
|
||||
"CPP_for_OpenCL": 6
|
||||
"CPP_for_OpenCL": 6,
|
||||
"SYCL": 7
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -57,6 +57,7 @@ spv = {
|
||||
OpenCL_CPP = 4,
|
||||
HLSL = 5,
|
||||
CPP_for_OpenCL = 6,
|
||||
SYCL = 7,
|
||||
},
|
||||
|
||||
ExecutionModel = {
|
||||
|
@ -57,6 +57,7 @@ spv = {
|
||||
'OpenCL_CPP' : 4,
|
||||
'HLSL' : 5,
|
||||
'CPP_for_OpenCL' : 6,
|
||||
'SYCL' : 7,
|
||||
},
|
||||
|
||||
'ExecutionModel' : {
|
||||
|
@ -65,6 +65,7 @@ enum SourceLanguage : uint
|
||||
OpenCL_CPP = 4,
|
||||
HLSL = 5,
|
||||
CPP_for_OpenCL = 6,
|
||||
SYCL = 7,
|
||||
}
|
||||
|
||||
enum ExecutionModel : uint
|
||||
|
Loading…
Reference in New Issue
Block a user