Repository navigation
Commit 84e4490
committed
GPU Metal: relink the backend library when the kernels change
The Metal IR is packed into the library with -sectcreate at link time,
but the link step did not depend on the IR file. A change to the kernel
code alone rebuilt the IR without relinking the library, which kept
running the old kernels.1 parent 92368c4 commit 84e4490
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments