Crash when creating cl::sycl::queue
還沒有人認領這個 Issue。
評估
研究方向
從 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 一週以上 新手友好度 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
-
難度 2/5 1-3 小時 新手友好度 88/100
tesseract-ocr/tesseract#4627 ·
-
難度 2/5 1-3 小時 新手友好度 90/100
lxqt/lxqt-panel#2492 ·
-
bug-unconfirmed
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
[models/demos/gemma4 dFlash]: _shard_argmax returns a view of a force-freed tensor when rows == 1未關閉community
難度 2/5 1-3 小時 新手友好度 82/100
tenstorrent/tt-metal#57989 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100