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 11// REQUIRES: level_zero, level_zero_dev_kit
22// 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+
37// RUN: %{build} %level_zero_options -o %t.out
48// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{run} %t.out
59// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{run} %t.out
@@ -219,6 +223,9 @@ int main() {
219223 std::cout << " GPU Result from Immediate Q = {" << hostOut[0 ] << " , "
220224 << hostOut[1 ] << " , " << hostOut[2 ] << " }" << std::endl;
221225 }
226+
227+ free (deviceData, InteropContext);
228+
222229 // Check results
223230 buffer<int , 1 > bufDataResult{data, 3 };
224231 host_accessor hostResult{bufDataResult, read_only};
You can’t perform that action at this time.
0 commit comments