Skip to content

[SYCL][unittests] SchedulerTest.InOrderQueueCrossDepsShortcutFuncs fails #22412

Description

@wenju-he

Describe the bug

Fails in pre-commit testing of unrelated PR #22378

[ RUN      ] SchedulerTest.InOrderQueueCrossDepsShortcutFuncs
Assertion failed: It != MQueues.end() && "Queue not found in device's queue list", file D:\github\_work\llvm\llvm\src\sycl\source\detail/device_impl.hpp, line 2316
Exception Code: 0x80000003
 #0 0x00007ff73f2eecc5 HandleAbort (D:\github\_work\llvm\llvm\build\tools\sycl\unittests\scheduler\SchedulerTests-Non_Preview_Tests.exe+0x2eecc5)
 #1 0x00007ff88f912139 (C:\WINDOWS\System32\ucrtbase.dll+0xc2139)
 #2 0x00007ff88f8f5261 (C:\WINDOWS\System32\ucrtbase.dll+0xa5261)
 #3 0x00007ff88f913136 (C:\WINDOWS\System32\ucrtbase.dll+0xc3136)
 #4 0x00007ff88f913311 (C:\WINDOWS\System32\ucrtbase.dll+0xc3311)
 #5 0x00007ff73f019c19 sycl::_V1::detail::queue_impl::~queue_impl(void) D:\github\_work\llvm\llvm\src\sycl\source\detail\queue_impl.hpp:248:0
 #6 0x00007ff73f2126ef std::_Ref_count_base::_Decref C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\include\memory:1161:0
 #7 0x00007ff73f2126ef std::_Ptr_base<sycl::_V1::detail::queue_impl>::_Decref C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\include\memory:1377:0
 #8 0x00007ff73f2126ef std::shared_ptr<sycl::_V1::detail::queue_impl>::{dtor} C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\include\memory:1682:0
 #9 0x00007ff73f2126ef sycl::_V1::detail::Scheduler::NotifyHostTaskCompletion(class sycl::_V1::detail::Command *) D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\scheduler.cpp:517:0
#10 0x00007ff73f1fd7d8 sycl::_V1::detail::DispatchHostTask::operator()(void) const D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\commands.cpp:465:0
#11 0x00007ff73f15236f sycl::_V1::detail::ThreadPool::worker(void) D:\github\_work\llvm\llvm\src\sycl\source\detail\thread_pool.hpp:79:0
#12 0x00007ff73f14c8f1 std::thread::_Invoke<class std::tuple<class `private: void __cdecl sycl::_V1::detail::ThreadPool::start(void)'::`3'::<lambda_1>>, 0>(void *) C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\include\thread:61:0
#13 0x00007ff88f87cd30 (C:\WINDOWS\System32\ucrtbase.dll+0x2cd30)
#14 0x00007ff890abe957 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e957)

#15 0x00007ff892247c1c (C:\WINDOWS\SYSTEM32\ntdll.dll+0x87c1c)

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: Windows
  • Target device and vendor:
  • DPC++ version:
  • Dependencies version:

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions