[SYCLomatic] Fix 4 thrust migration LIT test fails on CUDA 11.2+#66
Merged
zhimingwang36 merged 1 commit intooneapi-src:SYCLomaticfrom Jun 9, 2022
Merged
Conversation
Signed-off-by: Cui, Dele <dele.cui@intel.com>
delecui
commented
Jun 8, 2022
| // UNSUPPORTED: cuda-8.0 | ||
| // UNSUPPORTED: v8.0 | ||
| // RUN: dpct --format-range=none -out-root %T/thrust-for-h2o4gpu %s --cuda-include-path="%cuda-path/include" -- -std=c++14 -x cuda --cuda-host-only -fno-delayed-template-parsing | ||
| // RUN: dpct --format-range=none -out-root %T/thrust-for-h2o4gpu %s --cuda-include-path="%cuda-path/include" -- -std=c++14 -x cuda --cuda-host-only -fno-delayed-template-parsing -ferror-limit=50 |
Contributor
Author
There was a problem hiding this comment.
-ferror-limit=50 is to allow more parsing errors than default 20, otherwise dpct will stop migration due to two many errors if CUDA_PATH is 11.2~11.7
For dpct/thrust-for-h2o4gpu:
16 parsing errors are reported with CUDA_PATH set to 11.0 and 11.1.
22 parsing errors are reported with CUDA_PATH set to 11.2+.
If "-ferror-limit" is not passed, the error limit is 20 by default.
The other 3 LIT tests have the same issue.
Contributor
|
So sorry for clicking it by mistake |
ShengchenJ
pushed a commit
to ShengchenJ/SYCLomatic
that referenced
this pull request
Sep 27, 2024
…rc#66) Signed-off-by: Lu, John <john.lu@intel.com>
ShengchenJ
pushed a commit
to ShengchenJ/SYCLomatic
that referenced
this pull request
Sep 27, 2024
…neapi-src#66)" (oneapi-src#96) This reverts commit 85046c3.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Cui, Dele dele.cui@intel.com