Uh oh!
There was an error while loading. Please reload this page.
Add the cuda.core.experimental.Linker class - #229
Conversation
1916359 to
81086e0CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
keenan-simpson
commented
Nov 25, 2024
/ok to test |
leofang
left a comment
There was a problem hiding this comment.
Thanks, Keenan! I haven't reviewed the tests yet (they seem OK from a quick glance). Left some comments below.
Please also modify docs/.../api.rst to document LinkerOptions/Linker and make sure the docs build without warnings and render OK.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Graham can correct me but there's probably a better way to pass multiple options to -Xptxas. Could you check if this is tested?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
aed4c23 to
9d8ecbcComparekeenan-simpson
commented
Nov 28, 2024
TODO - fix the finalizer. Once Ralf's change is complete I will implement the finalizer to match. |
rwgk
commented
Dec 2, 2024
Hi @ksimpson-work, I just merged #246. — The pattern for using |
keenan-simpson
commented
Dec 2, 2024
Thanks for the ping! I will look to implement now |
88c5ed2 to
702fbaaCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
keenan-simpson
commented
Dec 4, 2024
Tests are updated to link ptx inputs vs ltoir inputs when running with culink backend. The functions are all device, using a global was consistently causing an error when linking (undefined reference to B, C) although B and C were both declared in A and passed to the linker. |
keenan-simpson
commented
Dec 5, 2024
Upon further investigation, the issue with linking ptx inputs was not an issue with the linker, but rather a user error in the compilation step. relocatable device code option was required in order to compile and output unreferenced device functions. This is, of course, a requirement to link them to some declaration in the entrypoint file. |
keenan-simpson
commented
Dec 5, 2024
lazy load modules in #268 |
…nto ksimpson/cuda_core_linker_155
leofang
commented
Dec 7, 2024
/ok to test |
wrap nvjitlink into the object model.
Depends on #224