Skip to content

Commit 024ec98

Browse files
authored
Merge pull request #2563 from andreyfe1/spelling_checker
[oneMKL] Fix some spelling issues
2 parents 9f96d2d + d710215 commit 024ec98

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

Libraries/oneMKL/binomial/src/binomial_sycl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void Binomial<DATA_TYPE>::body() {
109109
id += mul_c;
110110
}
111111

112-
// Handling num_steps step by last item and putting it direclty to
112+
// Handling num_steps step by last item and putting it directly to
113113
// SLM last element
114114
if (local_id == wg_size - 1) {
115115
auto d = sx * sycl::exp(id) - xx;

Libraries/oneMKL/computed_tomography/computed_tomography.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ sycl::event step2_interpolation(matrix_r &fhat,
218218
const std::vector<sycl::event> &deps)
219219
{
220220
// radonImage is the result of r2c FFT
221-
// rt(pp,:) contains frequences 0...q
221+
// rt(pp,:) contains frequencies 0...q
222222
complex *rt = (complex *)radon_image.data;
223223
complex *ft = (complex *)fhat.data;
224224

Libraries/oneMKL/fourier_correlation/fcorr_1d_buffers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ int main(int argc, char **argv) {
129129
oneapi::mkl::dft::compute_forward(desc, sig1);
130130
// sig2 <- DFT(sig2)
131131
oneapi::mkl::dft::compute_forward(desc, sig2);
132-
// Compute the element-wise multipication of (complex) coefficients in
132+
// Compute the element-wise multiplication of (complex) coefficients in
133133
// backward domain:
134134
// corr <- sig1 * CONJ(sig2) [component-wise]
135135
auto sig1_cplx =

Libraries/oneMKL/fourier_correlation/fcorr_1d_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ int main(int argc, char** argv) {
126126
evt1 = oneapi::mkl::dft::compute_forward(desc, sig1, {evt1});
127127
// sig2 <- DFT(sig2)
128128
evt2 = oneapi::mkl::dft::compute_forward(desc, sig2, {evt2});
129-
// Compute the element-wise multipication of (complex) coefficients in
129+
// Compute the element-wise multiplication of (complex) coefficients in
130130
// backward domain:
131131
// corr <- sig1 * CONJ(sig2) [component-wise]
132132
evt = oneapi::mkl::vm::mulbyconj(

Libraries/oneMKL/fourier_correlation/fcorr_2d_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ int main(int argc, char **argv) {
218218
auto evt1 = oneapi::mkl::dft::compute_forward(desc, img1);
219219
// img2 <- DFT(img2)
220220
auto evt2 = oneapi::mkl::dft::compute_forward(desc, img2);
221-
// Compute the element-wise multipication of (complex) coefficients in
221+
// Compute the element-wise multiplication of (complex) coefficients in
222222
// backward domain:
223223
// corr <- sig1 * CONJ(sig2) [component-wise]
224224
evt = oneapi::mkl::vm::mulbyconj(

Libraries/oneMKL/guided_american_options_SYCLmigration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ correctly.
110110
To measure performance with RNG Device API following changes need to be introduced:
111111
1. Macro `USE_DEVICE_API` is to distinguish between implementation for Device API and Host API.
112112
2. Remove memory allocation that used to store random numbers.
113-
3. Introduce Device API calls in `generate_paths_kernel` because random nubers can
113+
3. Introduce Device API calls in `generate_paths_kernel` because random numbers can
114114
be generated within the SYCL kernel and can be used immediately to generate paths.
115115
4. Do not call RNG Host API as a separate call.
116116

Libraries/oneMKL/monte_carlo_pi/mc_pi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ double estimate_pi(sycl::queue& q, size_t n_points) {
3737

3838
// Step 1. Generate n_points * 2 random numbers
3939
// 1.1. Generator initialization
40-
// Create an object of basic random numer generator (engine)
40+
// Create an object of basic random number generator (engine)
4141
mkl::rng::philox4x32x10 engine(q, seed);
4242
// Create an object of distribution (by default float, a = 0.0f, b = 1.0f)
4343
mkl::rng::uniform distr;

Libraries/oneMKL/monte_carlo_pi/mc_pi_device_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ double estimate_pi(sycl::queue& q, size_t n_points) {
5252
sycl::access::address_space::global_space> atomic_counter { count_acc[0] };
5353
size_t count = 0;
5454

55-
// Create an object of basic random numer generator (engine)
55+
// Create an object of basic random number generator (engine)
5656
mkl::rng::device::philox4x32x10<vec_size> engine(seed, id_global * count_per_thread * vec_size);
5757
// Create an object of distribution (by default float, a = 0.0f, b = 1.0f)
5858
mkl::rng::device::uniform distr;

Libraries/oneMKL/monte_carlo_pi/mc_pi_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ double estimate_pi(sycl::queue& q, size_t n_points) {
3636

3737
// Step 1. Generate n_points * 2 random numbers
3838
// 1.1. Generator initialization
39-
// Create an object of basic random numer generator (engine)
39+
// Create an object of basic random number generator (engine)
4040
mkl::rng::philox4x32x10 engine(q, seed);
4141
// Create an object of distribution (by default float, a = 0.0f, b = 1.0f)
4242
mkl::rng::uniform distr;

Libraries/oneMKL/random_sampling_without_replacement/lottery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void lottery(sycl::queue& q, size_t m, size_t n, size_t num_exp, size_t* result_
3232

3333
// Generate (m * num_exp) random numbers
3434
// Generator initialization
35-
// Create an object of basic random numer generator (engine)
35+
// Create an object of basic random number generator (engine)
3636
oneapi::mkl::rng::philox4x32x10 engine(q, seed);
3737
// Create an object of distribution (by default float, a = 0.0f, b = 1.0f)
3838
oneapi::mkl::rng::uniform distr;

0 commit comments

Comments
 (0)