Open jafioti opened 7 months ago
I might be misunderstanding but it sounds like this is related to the Metal compiler itself instead of this crate (Rust bindings to Metal).
@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?