Skip to content

Metal Compiler header file caching #302

Open
@jafioti

Description

@jafioti

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions