Skip to content

Commit 08f7031

Browse files
authored
Merge pull request #686 from lukaszstolarczuk/fix-spellings
Fix random spelling issues
2 parents 22c39d1 + fbb9b18 commit 08f7031

File tree

17 files changed

+36
-36
lines changed

17 files changed

+36
-36
lines changed

REQUIREMENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
### Library Language Binding Requirements
3030
* DPC++ Language binding requirements
31-
+ Performance Libraries that execute on multiple Intel IP’s shall support the DPCP++ language binding as the primary mechanism for programing on multiple Intel Hardware IP’s
31+
+ Performance Libraries that execute on multiple Intel IP’s shall support the DPCP++ language binding as the primary mechanism for programming on multiple Intel Hardware IP’s
3232
+ If the library supports DPC++ for a only a subset of functions for offload to an accelerator (e.g. ATS), all CPU functions should all support DPC++ Language bindings so that application developers can write their entire application in DPC++
33-
+ If a Library only supports only the CPU, but is likey to be used with another library the supports DPC++ on CPU and ATS, the library shall also support DPC++
33+
+ If a Library only supports only the CPU, but is likely to be used with another library the supports DPC++ on CPU and ATS, the library shall also support DPC++
3434
* Libraries may support other language bindings (C/C++/FORTRAN/JAVA/PYTHON, etc.) to support existing user base and use cases required by the developer domain
3535

3636
### Library API Deprecation Management

ci/pyenv.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ goto :eof
112112
::===============================================================
113113
:: Deletes existing python virtual env.
114114
:reset_python
115-
echo Reseting python...
115+
echo Resetting python...
116116
set VDIR_ACTIVE=
117117
if exist "%VDIR%" (
118118
call "%VDIR%\Scripts\deactivate.bat"

include/ur.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ class ur_device_info_v(IntEnum):
476476
MAX_READ_WRITE_IMAGE_ARGS = 32 ## [uint32_t] max number of image objects arguments of a kernel declared
477477
## with the read_write qualifier
478478
IMAGE2D_MAX_WIDTH = 33 ## [size_t] max width of Image2D object
479-
IMAGE2D_MAX_HEIGHT = 34 ## [size_t] max heigh of Image2D object
479+
IMAGE2D_MAX_HEIGHT = 34 ## [size_t] max height of Image2D object
480480
IMAGE3D_MAX_WIDTH = 35 ## [size_t] max width of Image3D object
481481
IMAGE3D_MAX_HEIGHT = 36 ## [size_t] max height of Image3D object
482482
IMAGE3D_MAX_DEPTH = 37 ## [size_t] max depth of Image3D object
@@ -680,7 +680,7 @@ class ur_device_partition_value_t(Structure):
680680
class ur_device_partition_property_t(Structure):
681681
_fields_ = [
682682
("type", ur_device_partition_t), ## [in] The partitioning type to be used.
683-
("value", ur_device_partition_value_t) ## [in] The paritioning value.
683+
("value", ur_device_partition_value_t) ## [in] The partitioning value.
684684
]
685685

686686
###############################################################################

include/ur_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ typedef enum ur_device_info_t {
863863
UR_DEVICE_INFO_MAX_READ_WRITE_IMAGE_ARGS = 32, ///< [uint32_t] max number of image objects arguments of a kernel declared
864864
///< with the read_write qualifier
865865
UR_DEVICE_INFO_IMAGE2D_MAX_WIDTH = 33, ///< [size_t] max width of Image2D object
866-
UR_DEVICE_INFO_IMAGE2D_MAX_HEIGHT = 34, ///< [size_t] max heigh of Image2D object
866+
UR_DEVICE_INFO_IMAGE2D_MAX_HEIGHT = 34, ///< [size_t] max height of Image2D object
867867
UR_DEVICE_INFO_IMAGE3D_MAX_WIDTH = 35, ///< [size_t] max width of Image3D object
868868
UR_DEVICE_INFO_IMAGE3D_MAX_HEIGHT = 36, ///< [size_t] max height of Image3D object
869869
UR_DEVICE_INFO_IMAGE3D_MAX_DEPTH = 37, ///< [size_t] max depth of Image3D object
@@ -1173,7 +1173,7 @@ typedef union ur_device_partition_value_t {
11731173
/// @brief Device partition property
11741174
typedef struct ur_device_partition_property_t {
11751175
ur_device_partition_t type; ///< [in] The partitioning type to be used.
1176-
ur_device_partition_value_t value; ///< [in] The paritioning value.
1176+
ur_device_partition_value_t value; ///< [in] The partitioning value.
11771177

11781178
} ur_device_partition_property_t;
11791179

scripts/YaML.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This document describes the YaML format used by the scripts for the API specific
2020
* A header requires the following scalar fields: {`desc`}
2121
- `desc` will be used as the region description comment
2222
* A header may take the following optional scalar fields: {`ordinal`, `version`}
23-
- `ordinal` will be used to override the default order (alphebetical) in which regions appear in the specification; `default="1000"`. Multiple regions with the same ordinal will be ordered alphebetically.
23+
- `ordinal` will be used to override the default order (alphabetical) in which regions appear in the specification; `default="1000"`. Multiple regions with the same ordinal will be ordered alphabetically.
2424
- `version` can be used to define the minimum API version for all documents in the yml file; `default="1.0"`
2525

2626
<table>
@@ -325,7 +325,7 @@ class ur_name_handle_t(c_void_p):
325325
- `version` will be used to define the minimum API version in which the enum will appear; `default="1.0"` This will also affect the order in which the enum appears within its section and class.
326326
- `extend` will be used to extend an existing enum with additional `etors`,
327327
usually used to implement experimental features. `type` *must* refer to an
328-
exiting enum and each `etor` must include a unique `value`.
328+
existing enum and each `etor` must include a unique `value`.
329329
- `typed_etors` boolean value that will be used to determine whether the enum's values have associated types.
330330
* An enum requires the following sequence of mappings: {`etors`}
331331
- An etor requires the following scalar fields: {`name`, `desc`}

scripts/core/EXP-BINDLESS-IMAGES.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ Functions
148148
Changelog
149149
--------------------------------------------------------------------------------
150150

151-
+----------+---------------------------------------------------------+
152-
| Revision | Changes |
153-
+==========+=========================================================+
154-
| 1.0 | Initial Draft |
155-
+----------+---------------------------------------------------------+
156-
| 2.0 || Added device parameters to UR functions. |
157-
| || Added sub-region copy paramters to image copy function.|
158-
| || Removed 3D USM capabilities. |
159-
| || Added mip filter mode. |
160-
+----------+---------------------------------------------------------+
151+
+----------+----------------------------------------------------------+
152+
| Revision | Changes |
153+
+==========+==========================================================+
154+
| 1.0 | Initial Draft |
155+
+----------+----------------------------------------------------------+
156+
| 2.0 || Added device parameters to UR functions. |
157+
| || Added sub-region copy parameters to image copy function.|
158+
| || Removed 3D USM capabilities. |
159+
| || Added mip filter mode. |
160+
+----------+----------------------------------------------------------+
161161

162162
Contributors
163163
--------------------------------------------------------------------------------

scripts/core/device.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2022 Intel Corporation
2+
# Copyright (C) 2022-2023 Intel Corporation
33
#
44
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
55
# See LICENSE.TXT
@@ -216,7 +216,7 @@ etors:
216216
- name: IMAGE2D_MAX_WIDTH
217217
desc: "[size_t] max width of Image2D object"
218218
- name: IMAGE2D_MAX_HEIGHT
219-
desc: "[size_t] max heigh of Image2D object"
219+
desc: "[size_t] max height of Image2D object"
220220
- name: IMAGE3D_MAX_WIDTH
221221
desc: "[size_t] max width of Image3D object"
222222
- name: IMAGE3D_MAX_HEIGHT
@@ -539,7 +539,7 @@ members:
539539
desc: "[in] The partitioning type to be used."
540540
- type: $x_device_partition_value_t
541541
name: value
542-
desc: "[in] The paritioning value."
542+
desc: "[in] The partitioning value."
543543
--- #--------------------------------------------------------------------------
544544
type: struct
545545
desc: "Device Partition Properties"

scripts/parse_specs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Copyright (C) 2022 Intel Corporation
2+
Copyright (C) 2022-2023 Intel Corporation
33
44
Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
55
See LICENSE.TXT
@@ -231,7 +231,7 @@ def __validate_etors(d, tags):
231231
raise Exception(prefix+"typed etor " + item['name'] + " must begin with a type identifier: [type]")
232232
type_name = _subt(type, tags)
233233
if not is_iso(type_name):
234-
raise Exception(prefix+"type " + str(type) + " in a typed etor " + item['name'] + " must be a valid ISO C identifer")
234+
raise Exception(prefix+"type " + str(type) + " in a typed etor " + item['name'] + " must be a valid ISO C identifier")
235235

236236
__validate_name(item, 'name', tags, case='upper', prefix=prefix)
237237

scripts/templates/exp_feat.rst.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Support
7676
Adapters which support this experimental feature *must* return the valid string
7777
defined in ``${"${X}"}_${"_".join(name.split("-")).upper()}_EXTENSION_STRING_EXP``
7878
as one of the options from ${"${x}"}DeviceGetInfo when querying for
79-
${"${X}"}_DEVICE_INFO_EXTENSIONS. Conversly, before using any of the
79+
${"${X}"}_DEVICE_INFO_EXTENSIONS. Conversely, before using any of the
8080
functionality defined in this experimental feature the user *must* use the
8181
device query to determine if the adapter supports this feature.
8282

scripts/templates/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Copyright (C) 2022 Intel Corporation
2+
Copyright (C) 2022-2023 Intel Corporation
33
44
Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
55
See LICENSE.TXT
@@ -427,7 +427,7 @@ def is_global(item, tags):
427427

428428
"""
429429
Public:
430-
substitues each tag['key'] with tag['value']
430+
substitutes each tag['key'] with tag['value']
431431
if comment, then insert doxygen '::' notation at beginning (for autogen links)
432432
"""
433433
def subt(namespace, tags, string, comment=False, remove_namespace=False):

source/common/umf_pools/disjoint_pool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Slab {
113113
// Hints where to start search for free chunk in a slab
114114
size_t FirstFreeChunkIdx = 0;
115115

116-
// Return the index of the first available chunk, SIZE_MAX otherwize
116+
// Return the index of the first available chunk, SIZE_MAX otherwise
117117
size_t FindFirstAvailableChunkIdx() const;
118118

119119
// Register/Unregister the slab in the global slab address map.

source/common/unified_malloc_framework/include/umf/memory_pool_ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct umf_memory_pool_ops_t {
2626
uint32_t version;
2727

2828
///
29-
/// \brief Intializes memory pool.
29+
/// \brief Initializes memory pool.
3030
/// \param providers array of memory providers that will be used for coarse-grain allocations.
3131
/// Should contain at least one memory provider.
3232
/// \param numProvider number of elements in the providers array

source/common/unified_malloc_framework/include/umf/memory_provider.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ umfMemoryProviderPurgeLazy(umf_memory_provider_handle_t hProvider, void *ptr,
123123

124124
///
125125
/// \brief Discard physical pages within the virtual memory mapping associated at given addr and size.
126-
/// This call is synchronous and if it suceeds, pages are guaranteed to be zero-filled on the next access.
126+
/// This call is synchronous and if it succeeds, pages are guaranteed to be zero-filled on the next access.
127127
/// \param hProvider handle to the memory provider
128128
/// \param ptr beginning of the virtual memory range
129129
/// \param size size of the virtual memory range
@@ -135,7 +135,7 @@ umfMemoryProviderPurgeForce(umf_memory_provider_handle_t hProvider, void *ptr,
135135
size_t size);
136136

137137
///
138-
/// \brief Retrive name of a given memory provider.
138+
/// \brief Retrieve name of a given memory provider.
139139
/// \param hProvider handle to the memory provider
140140
/// \param ppName [out] pointer to a string containing name of the provider
141141
const char *umfMemoryProviderGetName(umf_memory_provider_handle_t hProvider);

source/common/unified_malloc_framework/include/umf/memory_provider_ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct umf_memory_provider_ops_t {
2626
uint32_t version;
2727

2828
///
29-
/// \brief Intializes memory pool.
29+
/// \brief Initializes memory pool.
3030
/// \param params pool-specific params
3131
/// \param pool returns pointer to the pool
3232
/// \return UMF_RESULT_SUCCESS on success or appropriate error code on failure.

source/common/unified_malloc_framework/src/memory_tracker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void *umfMemoryTrackerGetPool(umf_memory_tracker_handle_t hTracker,
2626
const void *ptr);
2727

2828
// Creates a memory provider that tracks each allocation/deallocation through umf_memory_tracker_handle_t and
29-
// forwards all requests to hUpstream memory Provider. hUpstream liftime should be managed by the user of this function.
29+
// forwards all requests to hUpstream memory Provider. hUpstream lifetime should be managed by the user of this function.
3030
enum umf_result_t umfTrackingMemoryProviderCreate(
3131
umf_memory_provider_handle_t hUpstream, umf_memory_pool_handle_t hPool,
3232
umf_memory_provider_handle_t *hTrackingProvider);

test/unified_malloc_framework/memoryPoolAPI.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,15 @@ TEST_F(test, getLastFailedMemoryProvider) {
286286
umfMemoryProviderGetName(umfGetLastFailedMemoryProvider())),
287287
"provider2");
288288

289-
// succesfull provider should not be returned by umfGetLastFailedMemoryProvider
289+
// successful provider should not be returned by umfGetLastFailedMemoryProvider
290290
allocResult = UMF_RESULT_SUCCESS;
291291
ptr = umfPoolMalloc(pool.get(), allocSize);
292292
ASSERT_NE(ptr, nullptr);
293293
ASSERT_EQ(std::string_view(
294294
umfMemoryProviderGetName(umfGetLastFailedMemoryProvider())),
295295
"provider2");
296296

297-
// erorr in another thread should not impact umfGetLastFailedMemoryProvider on this thread
297+
// error in another thread should not impact umfGetLastFailedMemoryProvider on this thread
298298
allocResult = UMF_RESULT_ERROR_UNKNOWN;
299299
std::thread t([&, hPool = pool.get()] {
300300
ptr = umfPoolMalloc(hPool, allocSize);

tools/urtrace/collector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static class cli_args {
181181
bool no_args;
182182
enum output_format output_format;
183183
std::optional<std::string>
184-
filter_str; //the filter_str is kept primarly for printing.
184+
filter_str; //the filter_str is kept primarily for printing.
185185
std::optional<std::regex> filter;
186186
} cli_args;
187187

0 commit comments

Comments
 (0)