mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
- 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>
28 lines
370 B
C++
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
|