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
An ObjectCode instance can encapsulate either PTX, LTO-IR, or CUBIN. All of these can be serialized. This would help us as well as any downstream project implement a simple persistent compiler cache.
btw as discussed in the meeting, the pickle support should be limited to serializing/deserializing the underlying binary blob only; it should not try to touch the driver state, for example. So users unpicking an ObjectCode should still write normal cuda.core code. I don't expect major issues, though, just wanna call this out.
Activity
brandon-b-miller commentedon May 22, 2025
I can take care of this 👍
leofang commentedon May 23, 2025
btw as discussed in the meeting, the pickle support should be limited to serializing/deserializing the underlying binary blob only; it should not try to touch the driver state, for example. So users unpicking an
ObjectCodeshould still write normal cuda.core code. I don't expect major issues, though, just wanna call this out.