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

Data.Vector.Generic.New.unstream (and others) can't be specialized #484

Closed
Mikolaj opened this issue Mar 5, 2024 · 1 comment
Closed

Comments

@Mikolaj
Copy link
Member

Mikolaj commented Mar 5, 2024

I don't pretend to understand this, but GHC 9.8.2 reports for vector-0.13.1.0 with -Wmissed-specialisations

src/HordeAd/Core/AstSimplify.hs: warning: [-Wmissed-specialisations]
    Could not specialise imported function ‘Data.Vector.Storable.Mutable.$fMVectorMVectora’
      when specialising ‘Data.Vector.Generic.New.unstream’
    Probable fix: add INLINABLE pragma on ‘Data.Vector.Storable.Mutable.$fMVectorMVectora’

(taken from https://github.com/Mikolaj/horde-ad/actions/runs/8156144306/job/22293128686#step:18:633)

I think I had no warnings like that half a year ago.

@Mikolaj
Copy link
Member Author

Mikolaj commented Mar 5, 2024

Hah, actually, -fspecialise-aggressively fixes this (I had to set -fno-specialise-aggressively on github CI because it OOMs otherwise). Sorry about that noise. Closing.

@Mikolaj Mikolaj closed this as completed Mar 5, 2024
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

No branches or pull requests

1 participant