Skip to content

Commit d1967aa

Browse files
authored
[SYCL][doc] Fix a spelling mistake in any_device_has_v aspect trait (#15503)
Fixed a mistake in the `DeviceAspectTraitDesign.md` oneAPI design document where `any_device_has_v` was misspelled as `any_devices_has_v`.
1 parent 71bc163 commit d1967aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/doc/design/DeviceAspectTraitDesign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to generate test cases, ensuring that specializations exist for all aspects:
112112
113113
```c++
114114
#define __SYCL_ASPECT(ASPECT, ASPECT_VAL) \
115-
constexpr bool CheckAnyDeviceHas##ASPECT = any_devices_has_v<aspect::ASPECT>; \
115+
constexpr bool CheckAnyDeviceHas##ASPECT = any_device_has_v<aspect::ASPECT>; \
116116
constexpr bool CheckAllDevicesHave##ASPECT = all_devices_have_v<aspect::ASPECT>;
117117
118118
#include <sycl/info/aspects.def>

0 commit comments

Comments
 (0)