Files
compute-runtime/shared/source/os_interface/sys_calls_common.h
Mateusz Hoppe 8a7923c6ee 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>
2024-07-23 15:31:50 +02:00

28 lines
370 B
C++

/*
* Copyright (C) 2018-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <string>
namespace NEO {
namespace SysCalls {
unsigned int getProcessId();
unsigned int getCurrentProcessId();
unsigned long getNumThreads();
void exit(int code);
bool pathExists(const std::string &path);
} // namespace SysCalls
} // namespace NEO