-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1159 from oneapi-src/adapters
Merge adapters branch into main
- Loading branch information
Showing
305 changed files
with
50,612 additions
and
471 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* @oneapi-src/unified-runtime-maintain | ||
|
||
# Level Zero adapter | ||
source/adapters/level_zero @oneapi-src/unified-runtime-level-zero-write | ||
|
||
# CUDA and HIP adapters | ||
source/adapters/cuda @oneapi-src/unified-runtime-cuda-write | ||
source/adapters/hip @oneapi-src/unified-runtime-hip-write | ||
|
||
# OpenCL adapter | ||
source/adapters/opencl @oneapi-src/unified-runtime-opencl-write | ||
|
||
# Native CPU adapter | ||
source/adapters/native_cpu @oneapi-src/unified-runtime-native-cpu-write | ||
|
||
# Command-buffer experimental feature | ||
source/adapters/**/command_buffer.* @oneapi-src/unified-runtime-command-buffer-write | ||
scripts/core/EXP-COMMAND-BUFFER.rst @oneapi-src/unified-runtime-command-buffer-write | ||
scripts/core/exp-command-buffer.yml @oneapi-src/unified-runtime-command-buffer-write | ||
|
||
# Bindless Images experimental feature | ||
scripts/core/EXP-BINDLESS-IMAGES.rst @oneapi-src/unified-runtime-bindless-images-write | ||
scripts/core/exp-bindless-images.yml @oneapi-src/unified-runtime-bindless-images-write | ||
source/adapters/**/image.* @oneapi-src/unified-runtime-bindless-images-write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (C) 2023 Intel Corporation | ||
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. | ||
# See LICENSE.TXT | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
||
# get_system_info.sh - Script for printing system info | ||
|
||
function check_L0_version { | ||
if command -v dpkg &> /dev/null; then | ||
dpkg -l | grep level-zero && return | ||
fi | ||
|
||
if command -v rpm &> /dev/null; then | ||
rpm -qa | grep level-zero && return | ||
fi | ||
|
||
if command -v zypper &> /dev/null; then | ||
zypper se level-zero && return | ||
fi | ||
|
||
echo "level-zero not installed" | ||
} | ||
|
||
function system_info { | ||
echo "**********system_info**********" | ||
cat /etc/os-release | grep -oP "PRETTY_NAME=\K.*" | ||
cat /proc/version | ||
echo "**********SYCL-LS**********" | ||
source /opt/intel/oneapi/setvars.sh | ||
sycl-ls | ||
echo "**********VGA**********" | ||
lspci | grep VGA | ||
echo "**********CUDA Version**********" | ||
if command -v nvidia-smi &> /dev/null; then | ||
nvidia-smi | ||
else | ||
echo "CUDA not installed" | ||
fi | ||
echo "**********L0 Version**********" | ||
check_L0_version | ||
echo "**********ROCm Version**********" | ||
if command -v rocminfo &> /dev/null; then | ||
rocminfo | ||
else | ||
echo "ROCm not installed" | ||
fi | ||
echo "**********/proc/cmdline**********" | ||
cat /proc/cmdline | ||
echo "**********CPU info**********" | ||
lscpu | ||
echo "**********/proc/meminfo**********" | ||
cat /proc/meminfo | ||
echo "**********build/bin/urinfo**********" | ||
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo || true | ||
echo "******OpenCL*******" | ||
# The driver version of OpenCL Graphics is the compute-runtime version | ||
clinfo || echo "OpenCL not installed" | ||
echo "**********list-environment**********" | ||
echo "PATH=$PATH" | ||
echo | ||
echo "CPATH=$CPATH" | ||
echo | ||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" | ||
echo | ||
echo "LIBRARY_PATH=$LIBRARY_PATH" | ||
echo | ||
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" | ||
echo | ||
echo "******list-build-system-versions*******" | ||
gcc --version 2>/dev/null || true | ||
echo | ||
clang --version 2>/dev/null || true | ||
echo | ||
make --version 2>/dev/null || true | ||
echo "**********/proc/modules**********" | ||
cat /proc/modules | ||
echo "***************installed-packages***************" | ||
# Instructions below will return some minor errors, as they are dependent on the Linux distribution. | ||
zypper se --installed-only 2>/dev/null || true | ||
apt list --installed 2>/dev/null || true | ||
yum list installed 2>/dev/null || true | ||
} | ||
|
||
# Call the function above to print system info. | ||
system_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.