We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed09541 commit 7b0e3b1Copy full SHA for 7b0e3b1
source/adapters/level_zero/image.cpp
@@ -517,6 +517,7 @@ ur_result_t bindlessImagesCreateImpl(ur_context_handle_t hContext,
517
ZE2UR_CALL(zeContextMakeImageResident,
518
(hContext->ZeContext, hDevice->ZeDevice, ZeImage));
519
} else if (MemAllocProperties.type == ZE_MEMORY_TYPE_DEVICE ||
520
+ MemAllocProperties.type == ZE_MEMORY_TYPE_HOST ||
521
MemAllocProperties.type == ZE_MEMORY_TYPE_SHARED) {
522
ZeStruct<ze_image_pitched_exp_desc_t> PitchedDesc;
523
PitchedDesc.ptr = reinterpret_cast<void *>(hImageMem);
0 commit comments