mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 00:59:38 +08:00
fix: allow fork() after zeInit()
- do not release resources derived from parent process - zeInit() in child should initilize new driver Related-To: NEO-11761 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bdb60afa2b
commit
8a7923c6ee
@@ -218,6 +218,10 @@ unsigned int getProcessId() {
|
||||
return 0xABCEDF;
|
||||
}
|
||||
|
||||
unsigned int getCurrentProcessId() {
|
||||
return 0xABCEDF;
|
||||
}
|
||||
|
||||
unsigned long getNumThreads() {
|
||||
getNumThreadsCalled = true;
|
||||
return 1;
|
||||
|
||||
@@ -22,6 +22,10 @@ unsigned int getProcessId() {
|
||||
return 0xABCEDF;
|
||||
}
|
||||
|
||||
unsigned int getCurrentProcessId() {
|
||||
return 0xABCEDF;
|
||||
}
|
||||
|
||||
unsigned long getNumThreads() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user