Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduction_resource_leak_dw.cpp failing on windows #16418

Open
lbushi25 opened this issue Dec 18, 2024 · 0 comments
Open

reduction_resource_leak_dw.cpp failing on windows #16418

lbushi25 opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working confirmed Windows

Comments

@lbushi25
Copy link
Contributor

Describe the bug

The test SYCL :: Regression/reduction_resource_leak_dw.cpp is failing on windows. Upon resolution, please remove XFAIL from test sources.

To reproduce

FAIL: SYCL :: Regression/reduction_resource_leak_dw.cpp (1862 of 2242)
******************** TEST 'SYCL :: Regression/reduction_resource_leak_dw.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe  -Werror  -fsycl -fsycl-targets=spir64  D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp  -LD:\github\level-zero_win-sdk\lib -lze_loader  -ID:\github\level-zero_win-sdk\include -o D:\github\actions-runner\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_dw.cpp.tmp.out
# executed command: D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe -Werror -fsycl -fsycl-targets=spir64 'D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp' '-LD:\github\level-zero_win-sdk\lib' -lze_loader '-ID:\github\level-zero_win-sdk\include' -o 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_dw.cpp.tmp.out'
# .---command stderr------------
# | warning: overriding the module target triple with x86_64-pc-windows-msvc19.33.31629 [-Woverride-module]
# | 1 warning generated.
# `-----------------------------
# RUN: at line 3
env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  D:\github\actions-runner\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_dw.cpp.tmp.out 2>&1 | d:\github\actions-runner\_work\llvm\llvm\install\bin\filecheck.exe D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp
# executed command: env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_dw.cpp.tmp.out'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000409
# executed command: 'd:\github\actions-runner\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp'
# .---command stderr------------
# | D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp:5:15: error: CHECK-NOT: excluded string found in input
# | // CHECK-NOT: LEAK
# |               ^
# | <stdin>:5:54: note: found here
# |  zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1
# |                                                      ^~~~
# | 
# | Input file: <stdin>
# | Check file: D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_dw.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |        1: ZE_LOADER_DEBUG_TRACE:Using Loader Library Path:  
# |        2: ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: ze_tracing_layer.dll 
# |        3: Check balance of create/destroy calls 
# |        4: ---------------------------------------------------------- 
# |        5:  zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1 
# | not:5                                                          !~~~      error: no match expected
# |        6:  zeCommandQueueCreate = 1 \---> zeCommandQueueDestroy = 0 ---> LEAK = 1 
# |        7:  zeModuleCreate = 1 \---> zeModuleDestroy = 0 ---> LEAK = 1 
# |        8:  zeKernelCreate = 1 \---> zeKernelDestroy = 0 ---> LEAK = 1 
# |        9:  zeEventPoolCreate = 1 \---> zeEventPoolDestroy = 0 ---> LEAK = 1 
# |       10:  zeCommandListCreateImmediate = 1 |  
# |        .
# |        .
# |        .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

Environment

  • OS: e.g Windows
  • Target device and vendor: Intel GPU
  • DPC++ version: da317d0
  • Dependencies version:
- 2024-12-17T18:53:41.0132507Z �[36;1msycl-ls --verbose�[0m
2024-12-17T18:53:41.0168023Z shell: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-12-17T18:53:41.0168349Z env:
2024-12-17T18:53:41.0168504Z   CommandPromptType: Native
2024-12-17T18:53:41.0168792Z   DevEnvDir: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\
2024-12-17T18:53:41.0169243Z   ExtensionSdkDir: C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
2024-12-17T18:53:41.0171053Z   EXTERNAL_INCLUDE: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um
2024-12-17T18:53:41.0172725Z   Framework40Version: v4.0
2024-12-17T18:53:41.0172934Z   FrameworkDir: C:\Windows\Microsoft.NET\Framework64\
2024-12-17T18:53:41.0173206Z   FrameworkDir64: C:\Windows\Microsoft.NET\Framework64\
2024-12-17T18:53:41.0173441Z   FrameworkVersion: v4.0.30319
2024-12-17T18:53:41.0173613Z   FrameworkVersion64: v4.0.30319
2024-12-17T18:53:41.0175226Z   INCLUDE: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um
2024-12-17T18:53:41.0177594Z   LIB: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22000.0\\um\x64
2024-12-17T18:53:41.0179567Z   LIBPATH: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.22000.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.22000.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
2024-12-17T18:53:41.0180863Z   NETFXSDKDir: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\
2024-12-17T18:53:41.0188219Z   Path: D:\github\actions-runner\_work\llvm\llvm\\install\\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\Roslyn;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\\x64;C:\Program Files (x86)\Windows Kits\10\bin\\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\;C:\Python311\Scripts\;C:\Python311\;C:\Program Files (x86)\Intel\netbatch\lib;C:\Program Files (x86)\Intel\netbatch\lib64;C:\Program Files (x86)\Intel\netbatch\bin;C:\Program Files\Git\cmd;C:\Program Files\Git;C:\perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\.dotnet\tools;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;D:\github\ocloc;C:\Program Files (x86)\zstd;C:\Program Files (x86)\zstd\bin;C:\Users\gh_runner\AppData\Local\Microsoft\WindowsApps;C:\Users\gh_runner\.dotnet\tools;C:\Program Files (x86)\Microsoft Visual Studio\Installer;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\Linux\bin\ConnectionManagerExe
2024-12-17T18:53:41.0195074Z   Platform: x64
2024-12-17T18:53:41.0195222Z   UCRTVersion: 10.0.22000.0
2024-12-17T18:53:41.0195451Z   UniversalCRTSdkDir: C:\Program Files (x86)\Windows Kits\10\
2024-12-17T18:53:41.0196034Z   VCIDEInstallDir: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\
2024-12-17T18:53:41.0196481Z   VCINSTALLDIR: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\
2024-12-17T18:53:41.0197094Z   VCToolsInstallDir: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\
2024-12-17T18:53:41.0197625Z   VCToolsRedistDir: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Redist\MSVC\14.32.31326\
2024-12-17T18:53:41.0197989Z   VCToolsVersion: 14.33.31629
2024-12-17T18:53:41.0198245Z   VisualStudioVersion: 17.0
2024-12-17T18:53:41.0198546Z   VS170COMNTOOLS: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\
2024-12-17T18:53:41.0198867Z   VSCMD_ARG_app_plat: Desktop
2024-12-17T18:53:41.0199035Z   VSCMD_ARG_HOST_ARCH: x64
2024-12-17T18:53:41.0199188Z   VSCMD_ARG_TGT_ARCH: x64
2024-12-17T18:53:41.0199340Z   VSCMD_VER: 17.3.3
2024-12-17T18:53:41.0199619Z   VSINSTALLDIR: C:\Program Files\Microsoft Visual Studio\2022\Professional\
2024-12-17T18:53:41.0200139Z   WindowsLibPath: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.22000.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.22000.0
2024-12-17T18:53:41.0200811Z   WindowsSdkBinPath: C:\Program Files (x86)\Windows Kits\10\bin\
2024-12-17T18:53:41.0201111Z   WindowsSdkDir: C:\Program Files (x86)\Windows Kits\10\
2024-12-17T18:53:41.0201351Z   WindowsSDKLibVersion: 10.0.22000.0\
2024-12-17T18:53:41.0201647Z   WindowsSdkVerBinPath: C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\
2024-12-17T18:53:41.0201951Z   WindowsSDKVersion: 10.0.22000.0\
2024-12-17T18:53:41.0202313Z   WindowsSDK_ExecutablePath_x64: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\
2024-12-17T18:53:41.0202858Z   WindowsSDK_ExecutablePath_x86: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\
2024-12-17T18:53:41.0203206Z   __DOTNET_ADD_64BIT: 1
2024-12-17T18:53:41.0203367Z   __DOTNET_PREFERRED_BITNESS: 64
2024-12-17T18:53:41.0205349Z   __VSCMD_PREINIT_PATH: C:\Python311\Scripts\;C:\Python311\;C:\Program Files (x86)\Intel\netbatch\lib;C:\Program Files (x86)\Intel\netbatch\lib64;C:\Program Files (x86)\Intel\netbatch\bin;C:\Program Files\Git\cmd;C:\Program Files\Git;C:\perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\.dotnet\tools;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;D:\github\ocloc;C:\Program Files (x86)\zstd;C:\Program Files (x86)\zstd\bin;C:\Users\gh_runner\AppData\Local\Microsoft\WindowsApps;C:\Users\gh_runner\.dotnet\tools;C:\Program Files (x86)\Microsoft Visual Studio\Installer
2024-12-17T18:53:41.0207309Z ##[endgroup]
2024-12-17T18:53:41.5259745Z ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: 
2024-12-17T18:53:41.5365291Z ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: ze_tracing_layer.dll
2024-12-17T18:53:41.6249540Z [level_zero:gpu][level_zero:0] Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.5.31093]
2024-12-17T18:53:41.6250185Z [opencl:gpu][opencl:0] Intel(R) OpenCL Graphics, Intel(R) Iris(R) Xe Graphics OpenCL 3.0 NEO  [32.0.101.6129]
2024-12-17T18:53:41.6250438Z 
2024-12-17T18:53:41.6250502Z Platforms: 2
2024-12-17T18:53:41.6250626Z Platform [#1]:
2024-12-17T18:53:41.6250754Z     Version  : 1.5
2024-12-17T18:53:41.6250934Z     Name     : Intel(R) oneAPI Unified Runtime over Level-Zero
2024-12-17T18:53:41.6251151Z     Vendor   : Intel(R) Corporation
2024-12-17T18:53:41.6251323Z     Devices  : 1
2024-12-17T18:53:41.6251450Z         Device [#0]:
2024-12-17T18:53:41.6251582Z         Type              : gpu
2024-12-17T18:53:41.6251739Z         Version           : 12.0.0
2024-12-17T18:53:41.6251926Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T18:53:41.6252124Z         Vendor            : Intel(R) Corporation
2024-12-17T18:53:41.6252317Z         Driver            : 1.5.31093
2024-12-17T18:53:41.6252495Z         UUID              : 13412873154100002000000
2024-12-17T18:53:41.6252674Z         DeviceID          : 39497
2024-12-17T18:53:41.6252836Z         Num SubDevices    : 0
2024-12-17T18:53:41.6252994Z         Num SubSubDevices : 0
2024-12-17T18:53:41.6255019Z         Aspects           : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address ext_intel_gpu_eu_count ext_intel_gpu_eu_simd_width ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_intel_gpu_hw_threads_per_eu ext_intel_device_id ext_intel_memory_clock_rate ext_intel_memory_bus_width ext_intel_legacy_image ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_limited_graph ext_oneapi_private_alloca ext_oneapi_queue_profiling_tag ext_oneapi_virtual_mem ext_oneapi_virtual_functions
2024-12-17T18:53:41.6261298Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T18:53:41.6261671Z         Architecture: intel_gpu_tgllp
2024-12-17T18:53:41.6261969Z Platform [#2]:
2024-12-17T18:53:41.6262105Z     Version  : OpenCL 3.0 
2024-12-17T18:53:41.6262268Z     Name     : Intel(R) OpenCL Graphics
2024-12-17T18:53:41.6262451Z     Vendor   : Intel(R) Corporation
2024-12-17T18:53:41.6262753Z     Devices  : 1
2024-12-17T18:53:41.6262918Z         Device [#0]:
2024-12-17T18:53:41.6263245Z         Type              : gpu
2024-12-17T18:53:41.6263400Z         Version           : OpenCL 3.0 NEO 
2024-12-17T18:53:41.6263629Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T18:53:41.6263856Z         Vendor            : Intel(R) Corporation
2024-12-17T18:53:41.6264129Z         Driver            : 32.0.101.6129
2024-12-17T18:53:41.6264313Z         UUID              : 13412873154100002000000
2024-12-17T18:53:41.6265019Z         DeviceID          : 39497
2024-12-17T18:53:41.6265434Z         Num SubDevices    : 0
2024-12-17T18:53:41.6265705Z         Num SubSubDevices : 0
2024-12-17T18:53:41.6267083Z         Aspects           : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address ext_intel_gpu_eu_count ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_oneapi_srgb ext_intel_gpu_hw_threads_per_eu ext_intel_device_id ext_intel_legacy_image ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_private_alloca ext_oneapi_atomic16 ext_oneapi_virtual_functions
2024-12-17T18:53:41.6268456Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T18:53:41.6268770Z         Architecture: intel_gpu_tgllp
2024-12-17T18:53:41.6269129Z default_selector()      : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.5.31093]
2024-12-17T18:53:41.6269760Z accelerator_selector()  : No device of requested type available.
2024-12-17T18:53:41.6270058Z cpu_selector()          : No device of requested type available.
2024-12-17T18:53:41.6270422Z gpu_selector()          : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.5.31093]
2024-12-17T18:53:41.6270912Z custom_selector(gpu)    : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.5.31093]
2024-12-17T18:53:41.6271327Z custom_selector(cpu)    : No device of requested type available.
2024-12-17T18:53:41.6271694Z custom_selector(acc)    : No device of requested type available.

Additional context

No response

@lbushi25 lbushi25 added bug Something isn't working Windows confirmed labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed Windows
Projects
None yet
Development

No branches or pull requests

1 participant