Commit 33a54d1
committed
[COMGR][Cache] Get an input-stable -cuid when compiling hip
When compiling hip, compute the hash of the input files contents use it
as the cuid.
Otherwise a cuid that is computed from the input file paths (which
depend on /tmp/comgr-xxxxx) is generated. This path changes at every run
which causes a cache miss since the command-line changes.
co-authored by anjenner and jmmartinez
Change-Id: I6cbd3248df9c6bb8ac440c7c80ca3cb1dbe6722c1 parent 60e942e commit 33a54d1
File tree
3 files changed
+36
-18
lines changed- amd/comgr/src
3 files changed
+36
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 79 | | |
97 | 80 | | |
98 | 81 | | |
99 | 82 | | |
100 | 83 | | |
101 | 84 | | |
102 | 85 | | |
103 | | - | |
| 86 | + | |
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
| |||
150 | 133 | | |
151 | 134 | | |
152 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
719 | 720 | | |
720 | 721 | | |
721 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
722 | 732 | | |
723 | 733 | | |
724 | 734 | | |
| |||
1038 | 1048 | | |
1039 | 1049 | | |
1040 | 1050 | | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1041 | 1055 | | |
1042 | 1056 | | |
1043 | 1057 | | |
| |||
0 commit comments