mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
fix: correct calculating system shared memory size
do not exceed system memory region size when region is available Related-To: HSD-18038050680 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4be3230051
commit
25bed07989
@@ -193,5 +193,8 @@ int closedir(DIR *dir) {
|
||||
off_t lseek(int fd, off_t offset, int whence) noexcept {
|
||||
return ::lseek(fd, offset, whence);
|
||||
}
|
||||
long sysconf(int name) {
|
||||
return ::sysconf(name);
|
||||
}
|
||||
} // namespace SysCalls
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user