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
The ComputeSharp generator is currently bundling the DXC libs as embedded resources, then unpacking them to a temporary folder and loading them from there. This adds extra complexity and most importantly means the generator has to do IO, which should instead be avoided. The generator should be updated so that the DXC libs are packed as dependencies for the generator assembly and copied to the same output folder, so they can be loaded directly from there (which is fine), without having to do that extra step with IO first (which also means it'll be a bit faster to load as well).
Description
The ComputeSharp generator is currently bundling the DXC libs as embedded resources, then unpacking them to a temporary folder and loading them from there. This adds extra complexity and most importantly means the generator has to do IO, which should instead be avoided. The generator should be updated so that the DXC libs are packed as dependencies for the generator assembly and copied to the same output folder, so they can be loaded directly from there (which is fine), without having to do that extra step with IO first (which also means it'll be a bit faster to load as well).
See dotnet/roslyn#63290 and dotnet/roslyn#54899
The text was updated successfully, but these errors were encountered: