NVLINK does not support dynamic linking so passing dynamic libraries to NVLINK should be avoided.
This patch fixes a bug whereby an explicit passing of the dynamic library via it's full path will result in it being treated like an input.
Differential D59028
[OpenMP] Enable on device linking with NVLINK to ignore dynamic libraries gtbercea on Mar 6 2019, 8:51 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions For now this patch doesn't make sense until the main linking patch lands but it's a case we need to keep in mind. |
I would suggest to use types::lookupTypeForExtension function and compare the result with the types::TY_Object.