File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 . ./ci-support-v0
3939 build_py_project_in_conda_env
4040 export NO_COLOR=1
41+ export SKIP_TEARDOWN=1
4142 python intel_crash_reproducer.py
4243
4344# vim: sw=4
Original file line number Diff line number Diff line change 66group/local/chunk inames and tagged for an OpenCL-style execution.
77"""
88
9+ import os
10+ import sys
11+
912import numpy as np
1013
1114import loopy as lp
4750
4851_evt , (out ,) = knl (queue )
4952print (out .get ())
53+
54+ # The kernel result above is correct; the Intel CPU OpenCL runtime instead
55+ # aborts with "corrupted double-linked list" later, during process teardown
56+ # (its atexit/TBB thread-pool shutdown), not during the kernel launch.
57+ #
58+ # Setting SKIP_TEARDOWN=1 hard-exits before those finalizers run. If that makes
59+ # the crash disappear, it confirms the fault is in runtime/TBB shutdown rather
60+ # than the kernel.
61+ if os .environ .get ("SKIP_TEARDOWN" ) == "1" :
62+ sys .stdout .flush ()
63+ sys .stderr .flush ()
64+ os ._exit (0 )
You can’t perform that action at this time.
0 commit comments