Skip to content

Commit c0baab1

Browse files
Set stype fields in ZeModuleDesc struct (#672)
Set structure type to ZE_STRUCTURE_TYPE_MODULE_DESC
1 parent 9df69c9 commit c0baab1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libsyclinterface/source/dpctl_sycl_program_interface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ createLevelZeroInterOpProgram(const context &SyclCtx,
159159

160160
// Populate the Level Zero module descriptions
161161
ze_module_desc_t ZeModuleDesc = {};
162+
ZeModuleDesc.stype = ZE_STRUCTURE_TYPE_MODULE_DESC;
162163
ZeModuleDesc.format = ZE_MODULE_FORMAT_IL_SPIRV;
163164
ZeModuleDesc.inputSize = length;
164165
ZeModuleDesc.pInputModule = (uint8_t *)IL;

0 commit comments

Comments
 (0)