We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b821cf commit e507f0fCopy full SHA for e507f0f
1 file changed
source/adapters/level_zero/v2/memory.cpp
@@ -419,8 +419,6 @@ ur_result_t urMemBufferCreate(ur_context_handle_t hContext,
419
auto accessMode = getDeviceAccessMode(flags);
420
421
if (useHostBuffer(hContext)) {
422
- // TODO: assert that if hostPtr is set, either UR_MEM_FLAG_USE_HOST_POINTER
423
- // or UR_MEM_FLAG_ALLOC_COPY_HOST_POINTER is set?
424
auto hostPtrAction =
425
flags & UR_MEM_FLAG_USE_HOST_POINTER
426
? ur_integrated_mem_handle_t::host_ptr_action_t::import
0 commit comments