Skip to content

Commit 63af8bb

Browse files
authored
[SYCL][Bindless] Fix bindless spec stating certain copies are unsupported (#17507)
USM device to device copies are supported. In addition, host to host image copies are supported.
1 parent 4db72d5 commit 63af8bb

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,16 +1232,14 @@ public:
12321232
}
12331233
```
12341234

1235-
To enable the copying of images an `ext_oneapi_copy` function is proposed as a
1236-
method of the queue and handler. It can be used to copy image memory, whether
1237-
allocated through USM or using an `image_mem_handle`, from host to
1238-
device, or device to host. Device to device copies are currently supported only
1239-
through `image_mem_handle` allocations.
1240-
For the `ext_oneapi_copy` variants that do not take
1241-
offsets and extents, the image descriptor passed to the `ext_oneapi_copy` API
1242-
is used to determine the pixel size, dimensions, and extent in memory of the
1243-
image to copy. If performing sub-region copy, the size of the memory region is
1244-
also determined by the offsets and extent passed.
1235+
To enable the copying of images an `ext_oneapi_copy` function is proposed as a
1236+
method of the queue and handler. It can be used to copy image memory, whether
1237+
allocated through USM or using an `image_mem_handle`, from host to device,
1238+
device to host, device to device or host to host. For the `ext_oneapi_copy`
1239+
variants that do not take offsets and extents, the image descriptor passed to
1240+
the `ext_oneapi_copy` API is used to determine the pixel size, dimensions, and
1241+
extent in memory of the image to copy. If performing sub-region copy, the size
1242+
of the memory region is also determined by the offsets and extent passed.
12451243

12461244
For images allocated using USM, existing SYCL functionality can be used to
12471245
copy their memory, but we also provide `ext_oneapi_copy` functions that take

0 commit comments

Comments
 (0)