oneapi-src / oneapi-src/oneAPI-samples

An exception is caught for vector add.

オープン
#865 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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.
image
image

If there's no issue on IDE, the release version should not throw any issue ? Any reply highly appreciated.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Visual Studio 2022 で DPC++ の vector-add コンソールプロジェクトを再現し、IDE での実行と Release ターゲットおよび生成された実行可能ファイルを比較します。添付されたスクリーンショットに示されている例外から始めます。Release 実行可能ファイルが例外をスローせずにベクトル加算を正常に完了すれば、問題は解決しています。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
build-system, hpc
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。