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
I have a kernel that pulls in some header files, and I notice that when I update the header files, the behavior doesn't change. I'm guessing there's some caching going on in the metal compiler. Noteably when I change the install_name in the compile options, then the behavior changes as expected. You can also see the effect of caching when compiling a bunch of kernels, for me a cached run takes 100ms whereas a non-cached run takes 5s.
Is there a way to opt out of header file caching?
The text was updated successfully, but these errors were encountered:
@grovesNL I think you're correct, but is there a way to pass arbitrary arguments to the compiler? I assume there's an argument to it to prevent caching.
I have a kernel that pulls in some header files, and I notice that when I update the header files, the behavior doesn't change. I'm guessing there's some caching going on in the metal compiler. Noteably when I change the install_name in the compile options, then the behavior changes as expected. You can also see the effect of caching when compiling a bunch of kernels, for me a cached run takes 100ms whereas a non-cached run takes 5s.
Is there a way to opt out of header file caching?
The text was updated successfully, but these errors were encountered: