Skip to content

Commit f603fb1

Browse files
Spelling mistakes in libsyclinterface
1 parent 3475c74 commit f603fb1

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

libsyclinterface/include/syclinterface/Support/MemOwnershipAttrs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* the ownership of the object and the user must not use the object as an
5656
* argument to another function.
5757
*
58-
* The __dpctl_take attribute mens that the function destroys it before the
58+
* The __dpctl_take attribute means that the function destroys it before the
5959
* function returns, and the caller must not use the object again in any other
6060
* function. If the pointer annotated with __dpctl_take is NULL then it is
6161
* treated as an error, since it may prevent the normal behavior of the

libsyclinterface/include/syclinterface/dpctl_service.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ DPCTL_API
5454
void DPCTLService_InitLogger(const char *app_name, const char *log_dir);
5555

5656
/*!
57-
* @brief Finilize logger if enabled, no-op otherwise.
57+
* @brief Finalize logger if enabled, no-op otherwise.
5858
*
5959
* @ingroup Service
6060
*/

libsyclinterface/include/syclinterface/dpctl_sycl_platform_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ DPCTLPlatform_GetName(__dpctl_keep const DPCTLSyclPlatformRef PRef);
124124
* @brief Returns a C string corresponding to the vendor providing the platform.
125125
*
126126
* @param PRef Opaque pointer to a sycl::platform
127-
* @return A C string containing the name of the vendor provifing the
127+
* @return A C string containing the name of the vendor providing the
128128
* platform.
129129
* @ingroup PlatformInterface
130130
*/

libsyclinterface/include/syclinterface/dpctl_sycl_platform_manager.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ DPCTL_C_EXTERN_C_BEGIN
4444
DPCTL_DECLARE_VECTOR(Platform)
4545

4646
/*!
47-
* @brief Prints out information about the sycl::platform argument.
47+
* @brief Prints out information about the ``sycl::platform`` argument.
4848
*
4949
* The helper function is used to print metadata about a given platform. The
5050
* amount of information printed out is controlled by the verbosity level.
@@ -57,7 +57,7 @@ DPCTL_DECLARE_VECTOR(Platform)
5757
* platform.
5858
*
5959
* @param PRef A #DPCTLSyclPlatformRef opaque pointer.
60-
* @param verbosity Verbosilty level to control how much information is
60+
* @param verbosity Verbosity level to control how much information is
6161
* printed out.
6262
*/
6363
DPCTL_API
@@ -78,7 +78,7 @@ void DPCTLPlatformMgr_PrintInfo(__dpctl_keep const DPCTLSyclPlatformRef PRef,
7878
* platform.
7979
*
8080
* @param PRef A #DPCTLSyclPlatformRef opaque pointer.
81-
* @param verbosity Verbosilty level to control how much information is
81+
* @param verbosity Verbosity level to control how much information is
8282
* printed out.
8383
* @return A formatted C string capturing the information about the
8484
* sycl::platform argument.

libsyclinterface/include/syclinterface/dpctl_sycl_queue_interface.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ DPCTL_C_EXTERN_C_BEGIN
4141

4242
/*!
4343
* @brief A wrapper for sycl::queue constructor to construct a new queue from
44-
* the provided context, device, async handler and propertis bit flags.
44+
* the provided context, device, async handler and properties bit flags.
4545
*
4646
* @param CRef An opaque pointer to a sycl::context.
4747
* @param DRef An opaque pointer to a sycl::device
@@ -67,7 +67,7 @@ DPCTLQueue_Create(__dpctl_keep const DPCTLSyclContextRef CRef,
6767
* @brief Constructs a ``sycl::queue`` object of the specified SYCL device.
6868
*
6969
* Constructs a new SYCL queue for the specified SYCL device. The
70-
* behaviour of this function differs from the following queue constructor:
70+
* behavior of this function differs from the following queue constructor:
7171
*
7272
* @code
7373
* queue(
@@ -81,9 +81,9 @@ DPCTLQueue_Create(__dpctl_keep const DPCTLSyclContextRef CRef,
8181
* context for the device and instead look to reuse a previously cached
8282
* SYCL context for the device (refer dpctl_sycl_device_manager.cpp).
8383
* DPCTL caches contexts only for root devices and for all custom devices the
84-
* function begaves the same way as the SYCL constructor.
84+
* function behaves the same way as the SYCL constructor.
8585
*
86-
* @param dRef An opaque pointer to a ``sycl::device``.
86+
* @param DRef An opaque pointer to a ``sycl::device``.
8787
* @param handler A callback function that will be invoked by the
8888
* async_handler used during queue creation. Can be
8989
* NULL if no async_handler is needed.
@@ -98,7 +98,7 @@ DPCTLQueue_Create(__dpctl_keep const DPCTLSyclContextRef CRef,
9898
*/
9999
DPCTL_API
100100
__dpctl_give DPCTLSyclQueueRef
101-
DPCTLQueue_CreateForDevice(__dpctl_keep const DPCTLSyclDeviceRef dRef,
101+
DPCTLQueue_CreateForDevice(__dpctl_keep const DPCTLSyclDeviceRef DRef,
102102
error_handler_callback *handler,
103103
int properties);
104104

libsyclinterface/include/syclinterface/dpctl_sycl_queue_manager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ DPCTL_API
9595
void DPCTLQueueMgr_SetGlobalQueue(__dpctl_keep const DPCTLSyclQueueRef QRef);
9696

9797
/*!
98-
* @brief Pushes the passed in sycl::queue object to the queue manager's
98+
* @brief Pushes the passed in ``sycl::queue`` object to the queue manager's
9999
* internal stack of queues and makes the queue the current queue.
100100
*
101101
* The queue manager maintains a thread-local stack of sycl::queue
@@ -104,7 +104,7 @@ void DPCTLQueueMgr_SetGlobalQueue(__dpctl_keep const DPCTLSyclQueueRef QRef);
104104
* current queue is the queue returned by the DPCTLQueueMgr_GetCurrentQueue()
105105
* function.
106106
*
107-
* @param QRef An opaque reference to a syc::queue.
107+
* @param QRef An opaque reference to a ``sycl::queue``.
108108
* @ingroup QueueManager
109109
*/
110110
DPCTL_API

0 commit comments

Comments
 (0)