Skip to content

refactor(cuda): 更新rearrange的cuda实现, 目前 max_array_size 为5 #21

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

pwhMass
Copy link

@pwhMass pwhMass commented May 8, 2025

No description provided.

let vec_len = vec.len();
Ok(vec
.into_iter()
.chain(repeat(0).take(N - vec_len))

Check warning

Code scanning / clippy

this repeat().take() can be written more concisely Warning

this repeat().take() can be written more concisely
let vec_len = vec.len();
Ok(vec
.into_iter()
.chain(repeat(0).take(N - vec_len))

Check warning

Code scanning / clippy

this repeat().take() can be written more concisely Warning

this repeat().take() can be written more concisely
@YdrMaster YdrMaster merged commit 3c7d1da into YdrMaster:dev May 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants