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 cdf6ed6 commit f87cb7eCopy full SHA for f87cb7e
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