Skip to content

Fixes from Jorge's ocean benchmarks - #157

Merged
Zaneham merged 5 commits into
masterfrom
feat/ocean-kernels
Aug 6, 2026
Merged

Fixes from Jorge's ocean benchmarks#157
Zaneham merged 5 commits into
masterfrom
feat/ocean-kernels

Conversation

@Zaneham

@Zaneham Zaneham commented Aug 6, 2026

Copy link
Copy Markdown
Owner

@JorgeG94's ocean benchmarks found three real bugs in the frontend, so this fixes them. Double fmax/fmin/fmod were missing, sema stopped counting call arguments at 16 and then blamed a correct 23-argument call for the difference, and Metal was quietly narrowing double kernels to float.

The one that isn't Jorge's is worse. Semantic errors were only fatal under --sema, so every other mode printed them, carried on into codegen, wrote an output file and exited zero. Both ocean kernels now compile on ptx, amdgpu, cpu and rv64.

@Zaneham
Zaneham merged commit d000297 into master Aug 6, 2026
11 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.

1 participant