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

Revert "Remove unnecessary linking of CUDA Runtime library" #799

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

fpetrini15
Copy link
Contributor

@fpetrini15 fpetrini15 commented Oct 25, 2024

Reverts #798

This change was causing the following error during build:

#22 229.6 /usr/bin/ld: CMakeFiles/simple_http_cudashm_client.dir/simple_http_cudashm_client.cc.o: in function `CreateCUDAIPCHandle(cudaIpcMemHandle_st*, void*, int)':
#22 229.6 simple_http_cudashm_client.cc:(.text+0x592): undefined reference to `cudaSetDevice'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text+0x5a1): undefined reference to `cudaIpcGetMemHandle'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text+0x5f9): undefined reference to `cudaGetErrorName'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text+0x622): undefined reference to `cudaGetErrorString'
#22 229.6 /usr/bin/ld: CMakeFiles/simple_http_cudashm_client.dir/simple_http_cudashm_client.cc.o: in function `main':
#22 229.6 simple_http_cudashm_client.cc:(.text.startup+0xd26): undefined reference to `cudaMalloc'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0xd3f): undefined reference to `cudaMemcpy'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x1176): undefined reference to `cudaMalloc'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x17ec): undefined reference to `cudaMemcpy'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x1805): undefined reference to `cudaMemcpy'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x1eab): undefined reference to `cudaFree'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x1ec2): undefined reference to `cudaFree'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x23d6): undefined reference to `cudaGetErrorName'
#22 229.6 /usr/bin/ld: simple_http_cudashm_client.cc:(.text.startup+0x2400): undefined reference to `cudaGetErrorString'

@fpetrini15 fpetrini15 merged commit a73e338 into main Oct 25, 2024
3 checks passed
@fpetrini15 fpetrini15 deleted the revert-798-matthewkotila-cuda-dynamic-loading branch October 25, 2024 18:48
@fpetrini15 fpetrini15 restored the revert-798-matthewkotila-cuda-dynamic-loading branch October 25, 2024 19:27
@matthewkotila matthewkotila deleted the revert-798-matthewkotila-cuda-dynamic-loading branch October 25, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants