diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index d7df50e8..f5fa3b05 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -1443,7 +1443,7 @@ The [code]#device# class also provides constructors, but constructing a new objects returned by [api]#device::get_devices#. A device can be partitioned into multiple devices, by calling the -[code]#create_sub_devices()# member function template. +[code]#device::create_sub_devices# member function template. The resulting [code]#device# objects are considered sub devices, and it is valid to partition these sub devices further. The range of support for this feature is <> and device specific and can @@ -2765,7 +2765,7 @@ supported by this device. ---- namespace sycl::info::device { struct built_in_kernels { - using return_type = + using return_type = std::vector; }; } // namespace sycl::info::device ----