Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
Rust-GPU
/
rust-gpu
Public
Notifications
You must be signed in to change notification settings
Fork
116
Star
3.3k
Code
Issues
185
Pull requests
31
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
add support for leading_zeros, trailing_zeros and fix count_ones
- #213
#213
Merged
Firestar99
merged 15 commits into
main
Rust-GPU/rust-gpu:main
from
leading_trailing_zeros
Rust-GPU/rust-gpu:leading_trailing_zeros
Copy head branch name to clipboard
Mar 21, 2025
Conversation
Commits
15
聽(15)
Checks
Files changed
Merged
add support for leading_zeros, trailing_zeros and fix count_ones
#213
Firestar99
merged 15 commits into
main
Rust-GPU/rust-gpu:main
from
leading_trailing_zeros
Rust-GPU/rust-gpu:leading_trailing_zeros
Copy head branch name to clipboard
Commits
Commits on Mar 17, 2025
leading_zeros: add support for leading_zeros and trailing_zeros, limited to u32/i32
Firestar99
committed
15f5a5b
View commit details
Copy full SHA for 15f5a5b
Browse repository at this point
leading_zeros: add tests for non 32bit integers, failing
Firestar99
committed
ce566fa
View commit details
Copy full SHA for ce566fa
Browse repository at this point
leading_zeros: support 8bit, 16bit and emulate 64bit
Firestar99
committed
70507e9
View commit details
Copy full SHA for 70507e9
Browse repository at this point
leading_zeros: fix unused warning for `enabled_extensions`
Firestar99
committed
31ce03f
View commit details
Copy full SHA for 31ce03f
Browse repository at this point
count_ones: add failing tests for count_ones and bit_reverse
Firestar99
committed
7d3452c
View commit details
Copy full SHA for 7d3452c
Browse repository at this point
count_ones: fix pointer cast errors
Firestar99
committed
5083b9e
View commit details
Copy full SHA for 5083b9e
Browse repository at this point
count_ones: fix count_ones, must be u32-only in vulkan
Firestar99
committed
4c046f7
View commit details
Copy full SHA for 4c046f7
Browse repository at this point
count_ones: fix bit_reverse, must be u32-only in vulkan
Firestar99
committed
6733b1a
View commit details
Copy full SHA for 6733b1a
Browse repository at this point
count_ones: fix u64 bitshifts in all new functions
Firestar99
committed
ef1d3ff
View commit details
Copy full SHA for ef1d3ff
Browse repository at this point
count_ones: fix mismatched error messages to methods containing them
Firestar99
committed
ac49f2f
View commit details
Copy full SHA for ac49f2f
Browse repository at this point
count_ones: cargo fmt
Firestar99
committed
1449527
View commit details
Copy full SHA for 1449527
Browse repository at this point
Commits on Mar 21, 2025
leading_zeros: fix leading zeros for u32
Firestar99
committed
57c7d9d
View commit details
Copy full SHA for 57c7d9d
Browse repository at this point
leading_zeros: remove sign conversions, always unsigned, except for leading_zeros
Firestar99
committed
ee1904b
View commit details
Copy full SHA for ee1904b
Browse repository at this point
leading_zeros: make all conversions unsigned
Firestar99
committed
ad3ace9
View commit details
Copy full SHA for ad3ace9
Browse repository at this point
leading_zeros: code cleanup
Firestar99
committed
00f41df
View commit details
Copy full SHA for 00f41df
Browse repository at this point
You can鈥檛 perform that action at this time.