Skip to content

[2026春季][T1-1-2] Ifelseer - #91

Open
Ifelseer wants to merge 3 commits into
InfiniTensor:masterfrom
Ifelseer:2026-spring-Ifelseer-T1-1-2
Open

[2026春季][T1-1-2] Ifelseer#91
Ifelseer wants to merge 3 commits into
InfiniTensor:masterfrom
Ifelseer:2026-spring-Ifelseer-T1-1-2

Conversation

@Ifelseer

Copy link
Copy Markdown

NVIDIA 平台截图:
2

沐曦 平台截图:
2

天数 平台截图:
2

 Implemented using NineToothed DSL with libdevice functions:
- copysign: Copy sign from y to absolute value of x
- gcd: Greatest common divisor using Euclidean algorithm (64 iterations)
- lcm: Least common multiple using gcd-based formula
- nextafter: Next representable floating-point value toward y
- lgamma: Natural logarithm of gamma function
All operators include:
- Kernel implementation (src/ntops/kernels/)
- PyTorch interface (src/ntops/torch/)
- Comprehensive tests (tests/)
- Performance reports (reports/)
Tested with float32 and float16 types, covering edge cases.
@IfelseerIfelseer changed the title 2026 spring ifelseer t1 1 2[2026春季][T1-1-2] IfelseerJun 21, 2026
Sign up for freeto 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.

1 participant

@Ifelseer