Crash when creating cl::sycl::queue
まだ誰も着手していません。
評価
調査の方向性
Issue にある単純な main.cpp の再現コードから始め、dpcpp でコンパイルして /opt/intel/oneapi/setvars.sh を初期化した後、Ubuntu 22.04 上で実行します。gmm_client_context.cpp で報告されている abort を調査します。この再現コードで cl::sycl::queue の作成時に abort が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
I installed oneapi on Ubuntu 22.04 using https://apt.repos.intel.com/oneapi .
I created this trivial file:
#include <CL/sycl.hpp>
int main() {
// Creating buffer of 4 ints to be used inside the kernel code
cl::sycl::buffer<cl::sycl::cl_int, 1> Buffer(4);
// Creating SYCL queue
cl::sycl::queue Queue;
return 0;
}
Compiling it works fine, but it crashes when I run it:
stephen@dell:~/dev/src/playground/sycl$ . /opt/intel/oneapi/setvars.sh
:: initializing oneAPI environment ...
bash: BASH_VERSION = 5.1.16(1)-release
args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: intelpython -- latest
:: ipp -- latest
:: ippcp -- latest
:: ipp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vpl -- latest
:: vtune -- latest
:: oneAPI environment initialized ::
stephen@dell:~/dev/src/playground/sycl$ which dpcpp
/home/stephen/software/intel/oneapi/compiler/2022.1.0/linux/bin/dpcpp
stephen@dell:~/dev/src/playground/sycl$ dpcpp main.cpp
stephen@dell:~/dev/src/playground/sycl$ ./a.out
Abort was called at 39 line in file:
/opt/src/l0_gpu_driver/shared/source/gmm_helper/client_context/gmm_client_context.cpp
Aborted (core dumped)
Version
intel-oneapi-tbb-devel:
Installed: 2021.6.0-835
Candidate: 2021.6.0-835
Version table:
*** 2021.6.0-835 500
500 https://apt.repos.intel.com/oneapi all/main amd64 Packages
Environment
Ubuntu 22.04
- 主要言語
- C++
- スター
- 1.2k
- フォーク
- 745
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oneapi-src/oneAPI-samples のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
oneapi-src/oneAPI-samples#2764 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
oneapi-src/oneAPI-samples#2748 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
oneapi-src/oneAPI-samples#2746 ·
-
Lenovo Thinkpad T440p Ethernet issue warning sign show install multiple times but same issue face オープンquestion
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
oneapi-src/oneAPI-samples#2739 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
oneapi-src/oneAPI-samples#2705 ·
oneapi-src/oneAPI-samples の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
autowarefoundation/autoware_universe#13413 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
automated-analysis bug memory-safety
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
gazebosim/gz-sensors#662 · コメント 1 件 ·