Skip to content

Commit 0e47976

Browse files
committed
Rename property set
Rename the property set from "SYCL/image-requirements" to "SYCL/device-requirements" to avoid confusion with the SYCL types `unsampled_image` and `sampled_image`.
1 parent 29a2e9f commit 0e47976

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/doc/OptionalDeviceFeatures.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,12 +517,12 @@ that option, and then another split is performed to ensure that each device
517517
image contains only kernels or exported device functions that meet the criteria
518518
listed above.
519519

520-
#### Create the "SYCL/image-requirements" property set
520+
#### Create the "SYCL/device-requirements" property set
521521

522522
The DPC++ runtime needs some way to know about the *Used* aspects, required
523523
sub-group size, and required work-group size of an image. Therefore, the
524524
post-link tool provides this information in a new property set named
525-
"SYCL/image-requirements".
525+
"SYCL/device-requirements".
526526

527527
The following table lists the properties that this set may contain and their
528528
types:
@@ -583,7 +583,7 @@ configuration file that has one entry for each device that it supports. Each
583583
entry contains the set of aspects that the device supports and the set of
584584
sub-group sizes that it supports. DPC++ then consults this configuration
585585
file to decide whether to invoke a particular AOT compiler on each device IR
586-
module, using the information from the module's "SYCL/image-requirements"
586+
module, using the information from the module's "SYCL/device-requirements"
587587
property set.
588588

589589
#### Device configuration file
@@ -633,7 +633,7 @@ When the application submits a kernel to a device, the runtime identifies all
633633
the other device images that export device functions which are needed by the
634634
kernel as described in [Device Code Dynamic Linking][4]. Before the runtime
635635
actually links these images together, it compares each image's
636-
"SYCL/image-requirements" against the features provided by the target
636+
"SYCL/device-requirements" against the features provided by the target
637637
device. If any of the following checks fail, the runtime throws
638638
`errc::kernel_not_supported`:
639639

0 commit comments

Comments
 (0)