Commit d78e055
authored
[SYCL] Fix PersistentDeviceCodeCache unittests (#6266)
#6256 changed the binary format used
by the PersistentDeviceCodeCache tests to be a parameter, however the
tests would be setting the format after the image had been initialized,
which causes the image to think it is still the old format after
changing the binary format of the PI image to the format read from the
GTest parameter. With these changes the format will be set immediately
from the parameter rather than deferring it to during setup.
Additionally it fixes the SetUp and TearDown overrides.
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>1 parent 9c54241 commit d78e055
File tree
1 file changed
+3
-6
lines changed- sycl/unittests/kernel-and-program
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | 127 | | |
130 | 128 | | |
131 | | - | |
| 129 | + | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
| |||
202 | 200 | | |
203 | 201 | | |
204 | 202 | | |
205 | | - | |
206 | 203 | | |
207 | 204 | | |
208 | | - | |
| 205 | + | |
209 | 206 | | |
210 | 207 | | |
211 | 208 | | |
| |||
0 commit comments