Skip to content

Commit b521275

Browse files
authored
Fix typos (#13)
1 parent 920a093 commit b521275

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Provide a clear and concise description of the bug.
1414

1515
#### 🔄 Reproduction Steps
1616

17-
Steps to reproduce the behaviour
17+
Steps to reproduce the behavior
1818

1919
#### 🤔 Expected Behavior
2020

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ There are many ways to contribute to the ZK Stack:
2121
To contribute code fixing issues, please fork the repo, fix an issue, commit, add documentation as per the PR template,
2222
and the repo's maintainers will review the PR.
2323
[here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)
24-
for guidance how to work with PRs created from a fork.
24+
for guidance on how to work with PRs created from a fork.
2525

2626
## Licenses
2727

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ write smart contracts in C++, Rust and other popular languages.
1010
bellman-cuda is a library implementing GPU-accelerated cryptographic functionality for the zkSync prover.
1111

1212
### Building the library
13-
The library can be build by executing these steps:
13+
The library can be built by executing these steps:
1414

1515
#### Initialize git submodules
1616
`git submodule update --init --recursive`
@@ -21,7 +21,7 @@ The library can be build by executing these steps:
2121

2222
The library binary can be found in the `./build/src` folder. Change the path in the above commands if a different build location is desired.
2323

24-
By default, the library is build for Compute Architecture 8.0.
24+
By default, the library is built for Compute Architecture 8.0.
2525
If a different Compute Architecture is required, the [CMAKE_CUDA_ARCHITECTURES](https://cmake.org/cmake/help/latest/variable/CMAKE_CUDA_ARCHITECTURES.html) variables can be set to the desired architecture(s) during the build configuration generation step.
2626

2727
Example for Compute Architecture 8.6:
@@ -60,6 +60,6 @@ at your option.
6060
## Disclaimer
6161

6262
zkSync Era has been through lots of testing and audits. Although it is live, it is still in alpha state and will go
63-
through more audits and bug bounties programs. We would love to hear our community's thoughts and suggestions about it!
63+
through more audits and bug bounty programs. We would love to hear our community's thoughts and suggestions about it!
6464
It is important to state that forking it now can potentially lead to missing important security updates, critical
6565
features, and performance improvements.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Security Policy
22

3-
We truly appreciate efforts to discover and disclose security issues responsibly!
3+
We truly appreciate your efforts to discover and disclose security issues responsibly!
44

55
## Vulnerabilities
66

src/bellman-cuda.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ extern "C" {
1313
typedef enum bc_error {
1414
bc_success = 0, // The API call returned with no errors. In the case of query calls,
1515
// this also means that the operation being queried is complete (see bc_event_query() and bc_stream_query()).
16-
bc_error_invalid_value = 1, // This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.
16+
bc_error_invalid_value = 1, // This indicates that one or more of the parameters passed to the API call are not within an acceptable range of values.
1717
bc_error_memory_allocation = 2, // The API call failed because it was unable to allocate enough memory to perform the requested operation.
18-
bc_error_not_ready = 600 // This indicates that asynchronous operations issued previously have not completed yet. This result is not actually an error,
18+
bc_error_not_ready = 600 // This indicates that asynchronous operations issued previously have not been completed yet. This result is not actually an error,
1919
// but must be indicated differently than bc_success (which indicates completion). Calls that may return this value include
2020
// bc_event_query() and bc_stream_query().
2121
} bc_error;
@@ -67,7 +67,7 @@ bc_error bc_stream_synchronize(bc_stream stream);
6767

6868
// Queries an asynchronous stream for completion status.
6969
// stream - Stream identifier
70-
// Returns bc_success if all operations in stream have completed, or bc_error_not_ready if not.
70+
// Returns bc_success if all operations in stream have been completed, or bc_error_not_ready if not.
7171
bc_error bc_stream_query(bc_stream stream);
7272

7373
// Destroys and cleans up an asynchronous stream.

src/ff_dispatch_st.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ template <class FF_CONFIG, const uint32_t &INV> struct ff_dispatch_st {
387387
} else {
388388
even[0] = ptx::add_cc(even[0], odd[1]);
389389
// we trust the compiler to *not* touch the carry flag here
390-
// this code sits in between two "asm volatile" instructions witch should guarantee that nothing else interferes wit the carry flag
390+
// this code sits in between two "asm volatile" instructions which should guarantee that nothing else interferes with the carry flag
391391
mi = even[0] * INV;
392392
madc_n_rshift(odd, MOD + 1, mi);
393393
cmad_n(even, MOD, mi);

src/ntt_kernels.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ cudaError_t set_up_powers() {
8585
* C-T can straightforwardly meet both requirements.
8686
*
8787
* Cooley-Tukey does not sacrifice performance.
88-
* Using careful shared memory marshalling, the kernels below carry out
88+
* Using careful shared memory marshaling, the kernels below carry out
8989
* up to 10 exchange stages at a time for each gmem read+write of the data.
9090
*/
9191

0 commit comments

Comments
 (0)