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
This is needed downstream because cub injects an EmptyKernel symbol into every TU that includes either cub/cub.cuh or cub/device/* includes, and this causes an issue for cubins created using JIT-LTO.
This PR also fixes 2 bugs in JIT kernels:
1. Filters out `cub::EmptyKernel` from JIT TUs specifically because they only expect 1 kernel but are finding 2 instead
2. Keeps a reference to `cudaLibrary_t` that loads the JIT kernel and unloading it at destruction
Authors:
- Divye Gala (https://github.com/divyegala)
Approvers:
- Dante Gama Dessavre (https://github.com/dantegd)
URL: #1806
0 commit comments