@@ -1218,27 +1218,13 @@ image_mem_handle map_external_memory_array(
1218
1218
interop_mem_handle interopMemHandle,
1219
1219
const image_descriptor &imageDescriptor,
1220
1220
const sycl::queue &syclQueue);
1221
-
1222
- void *map_external_memory_buffer(
1223
- interop_mem_handle interopMemHandle,
1224
- const sycl::device &syclDevice,
1225
- const sycl::context &syclContext);
1226
- void *map_external_memory_buffer(
1227
- interop_mem_handle interopMemHandle,
1228
- const sycl::queue &syclQueue);
1229
1221
}
1230
1222
```
1231
1223
1232
- The resulting `interop_mem_handle` can then be mapped to two different memory
1233
- types, a buffer, or an array.
1234
-
1235
- If mapped to a buffer, the resulting `void*` can be used in USM like fashion.
1236
- It can be passed as an argument to a kernel and therein manipulated.
1237
-
1238
- If mapped to an array, the resulting type is an `image_mem_handle`, which can be
1239
- used to construct images in the same way as memory allocated through
1240
- `alloc_image_mem`. The `ext_oneapi_copy` operations also work with imported
1241
- memory mapped to `image_mem_handle` types.
1224
+ The resulting `interop_mem_handle` can then be mapped, where the resulting type
1225
+ is an `image_mem_handle`. This can be used to construct images in the same way
1226
+ as memory allocated through `alloc_image_mem`. The `ext_oneapi_copy` operations
1227
+ also work with imported memory mapped to `image_mem_handle` types.
1242
1228
1243
1229
When calling `create_image` with an `image_mem_handle` mapped from an external
1244
1230
memory object, the user must ensure that the image descriptor they pass to
0 commit comments