Skip to content

Conversation

@JamesMBartlett
Copy link

I was seeing undefined reference errors when trying to device link a cuda file with NVSHMEM, eg.:

nvlink error   : Undefined reference to 'nvshmemi_device_state_d'

This PR adds user link flags to the device link command line, so that eg. -lnvshmem can be passed down to the device linking, and it fixes the error I encountered above.

@cloudhan
Copy link
Collaborator

Sorry for the delay. Would you mind porting it to nvcc_msvc and clang config?

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