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
{{ message }}
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
Windows 11
Python 3.12.2 with installer
Slangpy 1.1.22
I am running into an issue where slang's cache is frequently pulling in stale code, for example throwing up warnings for code I deleted since the last run.
It could be that the mechanism used to detect changes to the .slang source files is faulty?
The text was updated successfully, but these errors were encountered:
Hi @cshenton-work, would you be able to provide a code snippet that shows this issue?
Is the stale cache caused by changing the main .slang file or an imported file? (or a .cu file that you may be using for interop)
One way to see what's going on is to use the verbose form loadModule('myfile.slang', verbose=True). You should see a wall of text showing the reasons for skipping the re-build. Pasting that here would definitely help me zero in on the issue.
Thanks in advance!
I've noticed that the cache will go stale if you rename the folder containing the slang code. Maybe this is specific to when the directory is nested once.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Windows 11
Python 3.12.2 with installer
Slangpy 1.1.22
I am running into an issue where slang's cache is frequently pulling in stale code, for example throwing up warnings for code I deleted since the last run.
It could be that the mechanism used to detect changes to the
.slang
source files is faulty?The text was updated successfully, but these errors were encountered: