Skip to content

Commit 020fbd7

Browse files
committed
Remove references to map_external_memory_buffer
- References to `map_external_memory_buffer` have been removed as they were proposed features, but they are not yet in the experimental implementation
1 parent 4e2af72 commit 020fbd7

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,27 +1218,13 @@ image_mem_handle map_external_memory_array(
12181218
interop_mem_handle interopMemHandle,
12191219
const image_descriptor &imageDescriptor,
12201220
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);
12291221
}
12301222
```
12311223

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.
12421228

12431229
When calling `create_image` with an `image_mem_handle` mapped from an external
12441230
memory object, the user must ensure that the image descriptor they pass to

0 commit comments

Comments
 (0)