Skip to content

--save-temps in DPC++ with HIP support #4752

Answered by npmiller
zjin-lcf asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, --save-temps is acting a bit strange.

The intermediate files are still generated, they just don't appear in the current directory unless it's empty, so you can either try to find them in /tmp or make sure your current working directory is empty when calling dpcpp.

Another thing to note is that because of the way the compilation works, some of the intermediary files will just contain the path to the actual intermediary file which will still be in /tmp, so be aware of that but it's pretty easy to retrieve it from there.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zjin-lcf
Comment options

@npmiller
Comment options

@zjin-lcf
Comment options

Answer selected by zjin-lcf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
hip Issues related to execution on HIP backend.
2 participants