-
When I try -save-temps with DPC++ with HIP support, the intermediate files are not generated. Can you reproduce that ? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, 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 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 |
Beta Was this translation helpful? Give feedback.
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 callingdpcpp
.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.