Skip to content

Commit 60fa82c

Browse files
Merge pull request #685 from igchor/l0_fix
Fix stype for ze_device_mem_alloc_desc_t in l0 provider
2 parents d969819 + 738d5c5 commit 60fa82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/provider/provider_level_zero.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static umf_result_t ze_memory_provider_alloc(void *provider, size_t size,
167167
.pNext = NULL,
168168
.flags = 0};
169169
ze_device_mem_alloc_desc_t dev_desc = {
170-
.stype = ZE_STRUCTURE_TYPE_HOST_MEM_ALLOC_DESC,
170+
.stype = ZE_STRUCTURE_TYPE_DEVICE_MEM_ALLOC_DESC,
171171
.pNext = NULL,
172172
.flags = 0,
173173
.ordinal = 0 // TODO

0 commit comments

Comments
 (0)