Skip to content

Conversation

@PatrickHaecker
Copy link
Contributor

Remove unused type parameters in methods.

Before:

(@v1.12) pkg> precompile
Precompiling packages finished.
  38 dependencies successfully precompiled in 36 seconds. 704 already precompiled.
  1 dependency had output during precompilation:
┌ LoopVectorization  ForwardDiffNNlibExt
│  WARNING: method definition for relu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:5 declares type variable S but does not use it.
│  WARNING: method definition for leakyrelu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:22 declares type variable S but does not use it.
└ 

After:

(@v1.12) pkg> precompile
Precompiling packages finished.
  37 dependencies successfully precompiled in 34 seconds. 705 already precompiled.

Remove unused type parameters in methods.

Before:
```julia
(@v1.12) pkg> precompile
Precompiling packages finished.
  38 dependencies successfully precompiled in 36 seconds. 704 already precompiled.
  1 dependency had output during precompilation:
┌ LoopVectorization → ForwardDiffNNlibExt
│  WARNING: method definition for relu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:5 declares type variable S but does not use it.
│  WARNING: method definition for leakyrelu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:22 declares type variable S but does not use it.
└ 
```

After:
```julia
(@v1.12) pkg> precompile
Precompiling packages finished.
  37 dependencies successfully precompiled in 34 seconds. 705 already precompiled.
```
Copy link
Member

@chriselrod chriselrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chriselrod chriselrod merged commit 592f03a into JuliaSIMD:main Oct 21, 2025
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