This is an archive of the discontinued LLVM Phabricator instance.

Fixed __kmpc_get_target_offload() to call initialization.
ClosedPublic

Authored by AndreyChurbanov on Mar 22 2018, 10:36 AM.

Details

Summary

The __kmpc_get_target_offload() supposed to react on the OMP_TARGET_OFFLOAD environment variable setting.
Calling serial initialization causes the library to read the environment, then the routine returns correct value set by user.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Mar 22 2018, 11:43 AM
This revision was automatically updated to reflect the committed changes.