Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typographical errors #55

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions msm/sort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#endif

__launch_bounds__(SORT_BLOCKDIM)
__global__ void sort(vec2d_t<uint32_t> inouts, size_t len, uint32_t win,
__global__ void sort(vec2d_t<uint32_t> inputs, size_t len, uint32_t win,
vec2d_t<uint2> temps, vec2d_t<uint32_t> histograms,
uint32_t wbits, uint32_t lsbits0, uint32_t lsbits1);

Expand Down Expand Up @@ -364,12 +364,12 @@ __global__ void sort(uint32_t inout[], size_t len, uint2 temp[],
#endif

__launch_bounds__(SORT_BLOCKDIM)
__global__ void sort(vec2d_t<uint32_t> inouts, size_t len, uint32_t win,
__global__ void sort(vec2d_t<uint32_t> inputs, size_t len, uint32_t win,
vec2d_t<uint2> temps, vec2d_t<uint32_t> histograms,
uint32_t wbits, uint32_t lsbits0, uint32_t lsbits1)
{
win += blockIdx.y;
sort_row(inouts[win], len, temps[blockIdx.y], histograms[win],
sort_row(inputs[win], len, temps[blockIdx.y], histograms[win],
wbits, blockIdx.y==0 ? lsbits0 : lsbits1);
}

Expand Down
2 changes: 1 addition & 1 deletion ntt/kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ template<unsigned int Z_COUNT, class fr_t>
__launch_bounds__(192, 2) __global__
void bit_rev_permutation_z(fr_t* out, const fr_t* in, uint32_t lg_domain_size)
{
static_assert((Z_COUNT & (Z_COUNT-1)) == 0, "unvalid Z_COUNT");
static_assert((Z_COUNT & (Z_COUNT-1)) == 0, "invalid Z_COUNT");
const uint32_t LG_Z_COUNT = lg2(Z_COUNT);

extern __shared__ int xchg_bit_rev[];
Expand Down