oneapi-src / oneapi-src/oneAPI-samples
An exception is caught for vector add.
オープン
まだ誰も着手していません。
question
- 主要言語
- C++
- スター
- 1.2k
- フォーク
- 745
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I created a DPC++ console project on VS 2022, as by default it will load vector-add sample.
There's no issue when I run the project directly on IDE as it says "Vector Add successfully completed on device" but when I target the release option so that it can create an executable file that issue appears.


If there's no issue on IDE, the release version should not throw any issue ? Any reply highly appreciated.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Visual Studio 2022 で DPC++ の vector-add コンソールプロジェクトを再現し、IDE での実行と Release ターゲットおよび生成された実行可能ファイルを比較します。添付されたスクリーンショットに示されている例外から始めます。Release 実行可能ファイルが例外をスローせずにベクトル加算を正常に完了すれば、問題は解決しています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- build-system, hpc
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100