Skip to content

Conversation

@reguly
Copy link
Contributor

@reguly reguly commented Feb 8, 2022

I'm using the icx compiler from OneAPI to compile OpenMP offload code. The following command used to query dependencies:
icx -M -O3 -g -fPIC -Wall -std=c99 -qopenmp -fopenmp-targets=spir64 /home/u83311/tmp/devito-jitcache-uid85311/260030861f24c1e2bc347afa986d9632be371ca9.c
returns the expected headers, as well as lines such as:
# __CLANG_OFFLOAD_BUNDLE____START__ openmp-spir64

which then later lead to issues because these are not files. I am not sure, what would be the ideal solution, perhaps filter out lines beginning with #?

I'm using the `icx` compiler from OneAPI to compile OpenMP offload code. The following command used to query dependencies:
`icx -M -O3 -g -fPIC -Wall -std=c99 -qopenmp -fopenmp-targets=spir64 /home/u83311/tmp/devito-jitcache-uid85311/260030861f24c1e2bc347afa986d9632be371ca9.c`
returns the expected headers, as well as lines such as:
`# __CLANG_OFFLOAD_BUNDLE____START__ openmp-spir64`

which then later lead to issues because these are not files. I am not sure, what would be the ideal solution, perhaps filter out lines beginning with `#`?
inducer and others added 2 commits February 8, 2022 13:00
Co-authored-by: Andreas Klöckner <inform@tiker.net>
@inducer inducer enabled auto-merge (squash) February 8, 2022 20:31
@inducer
Copy link
Owner

inducer commented Feb 8, 2022

Thanks!

@inducer inducer disabled auto-merge February 8, 2022 20:33
@inducer
Copy link
Owner

inducer commented Feb 8, 2022

(Something's still unhappy, could you take a look?)

@inducer inducer merged commit 87b3304 into inducer:main Feb 8, 2022
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