Skip to content
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

Implement GCC compatible entry points for loops scheduling #3

Open
JimCownie opened this issue Feb 8, 2021 · 3 comments
Open

Implement GCC compatible entry points for loops scheduling #3

JimCownie opened this issue Feb 8, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@JimCownie
Copy link
Contributor

The runtime has some entry-points to enable it to be used with OpenMP code compiled by compilers from the Gnu Compiler Collection (GCC), but it does not yet have those for loop scheduling.

That is a clear omission that it would be good to fix.

@mjklemm mjklemm added the enhancement New feature or request label Feb 9, 2021
@mjklemm
Copy link
Member

mjklemm commented Aug 6, 2021

@JimCownie Do you see a change to have this one resolved before August 31 or shall we aim for resolving it for LOMP v0.3?

@JimCownie
Copy link
Contributor Author

AFAICS there are other things which need to be fixed before the loop interfaces matter.

$ DYLD_LIBRARY_PATH=`echo ~/lomp/build/src`:${DYLD_LIBRARY_PATH} OMP_NUM_THREADS=1 ./a.out
dyld: lazy symbol binding failed: Symbol not found: _GOMP_parallel
  Referenced from: /Users/jcownie/tmp/./a.out
  Expected in: /Users/jcownie/lomp/build/src/libgomp.1.dylib

dyld: Symbol not found: _GOMP_parallel
  Referenced from: /Users/jcownie/tmp/./a.out
  Expected in: /Users/jcownie/lomp/build/src/libgomp.1.dylib

Abort trap: 6
$ 

Or, are GCC entrypoints not built in by default?

@mjklemm
Copy link
Member

mjklemm commented Aug 6, 2021

They are not built by default. You have turn them on explicitly. We did that because we only support a tiny subset of them yet. Once we have e loop entrypoints, we can enable them by default.

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

No branches or pull requests

2 participants