File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
// REQUIRES: level_zero, level_zero_dev_kit
2
2
// UNSUPPORTED: ze_debug
3
+
4
+ // DeviceSanitizer will report error for cross context USM usage, turn it off
5
+ // RUN: export UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:0"
6
+
3
7
// RUN: %{build} %level_zero_options -o %t.out
4
8
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{run} %t.out
5
9
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{run} %t.out
@@ -219,6 +223,9 @@ int main() {
219
223
std::cout << " GPU Result from Immediate Q = {" << hostOut[0 ] << " , "
220
224
<< hostOut[1 ] << " , " << hostOut[2 ] << " }" << std::endl;
221
225
}
226
+
227
+ free (deviceData, InteropContext);
228
+
222
229
// Check results
223
230
buffer<int , 1 > bufDataResult{data, 3 };
224
231
host_accessor hostResult{bufDataResult, read_only};
You can’t perform that action at this time.
0 commit comments