Commit af3347a
committed
Initialization of dpctl to set subprocess to not use FORK on Linux
Fork is not supported by DPC++ runtime. Attempt to use fork may
cause hangs, or incorrect behavior. In particular, it may affect
working on oneapi-gdb.
To enable smooth experience in debugging kernels launched by
dpctl, or extensions built using dpctl C++ API, initialization
of dpctl on Linux, imports subprocess and sets its configuration
variables to use SPAWN over FORK
https://docs.python.org/3/library/subprocess.html#disabling-use-of-vfork-or-posix-spawn1 parent 653f579 commit af3347a
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments