Skip to content

[DOC] Adding item to FAQ for 2025.2#2864

Closed
lapel22 wants to merge 1 commit into
oneapi-src:SYCLomaticfrom
lapel22:20252faqupdate
Closed

[DOC] Adding item to FAQ for 2025.2#2864
lapel22 wants to merge 1 commit into
oneapi-src:SYCLomaticfrom
lapel22:20252faqupdate

Conversation

@lapel22

@lapel22 lapel22 commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

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

@zhiweij1 zhiweij1 Jun 3, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

3 participants