Skip to content

[DOC] Adding item to FAQ for 2025.2 #2864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: SYCLomatic
Choose a base branch
from

Conversation

lapel22
Copy link
Contributor

@lapel22 lapel22 commented Jun 3, 2025

Added new FAQ item per Jira [DOC-13288] (https://jira.devtools.intel.com/browse/DOC-13288). Please review, approve, and merge if it looks okay.

************************************************************************

Additional Flag options may not be recognized by the tool, so they may need
manual intervention. You can manually use the flag ``-ignore-unknown`` to ignore
Copy link
Contributor

@zhiweij1 zhiweij1 Jun 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-ignore-unknown is not a dpct's option nor a clang's option.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(base) zhiwei@zhiwei-ubuntu:~/testfolder$ rm -rf out && dpct --out-root out -p . --extra-arg="-ignore-unknown"
error: dpct/c2s ignoring argument: '-gencode=arch=compute_50,code="sm_50,compute_50"'
error: dpct/c2s ignoring argument: '-ignore-unknown'
warning: CUDA version 12.8 is only partially supported [-Wunknown-cuda-version]
Parsing: /home/zhiwei/testfolder/test.cu
Analyzing: /home/zhiwei/testfolder/test.cu
Migrating: /home/zhiwei/testfolder/test.cu
Processed 1 file(s) in -in-root folder "/home/zhiwei/testfolder"

See Diagnostics Reference to resolve warnings and complete the migration:
https://oneapi-src.github.io/SYCLomatic/dev_guide/reference/diagnostics-reference.html

(base) zhiwei@zhiwei-ubuntu:~/testfolder$ rm -rf out && dpct --out-root out -p . -ignore-unknown
Unknown command line argument '-ignore-unknown'.  Try: 'dpct --help'
Did you mean '--report-only'?
dpct exited with code: -16 (Option parsing error, run 'dpct --help' to see supported options and values.)

(base) zhiwei@zhiwei-ubuntu:~/testfolder$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants