Skip to content

Commit 980132b

Browse files
authored
Use int8_t C++ type for bool kernel args. (#3619)
Resolves #3626 Signed-off-by: Ilya Enkovich <[email protected]>
1 parent 30b2ca0 commit 980132b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/intel/backend/driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,12 @@ def ty_to_cpp(ty):
329329
if ty[0] == '*':
330330
return "void*"
331331
return {
332-
"i1": "int32_t",
332+
"i1": "int8_t",
333333
"i8": "int8_t",
334334
"i16": "int16_t",
335335
"i32": "int32_t",
336336
"i64": "int64_t",
337-
"u1": "uint32_t",
337+
"u1": "uint8_t",
338338
"u8": "uint8_t",
339339
"u16": "uint16_t",
340340
"u32": "uint32_t",

0 commit comments

Comments
 (0)