Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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-spawn
- Loading branch information