| 28 Mar 2025 |
GaƩtan Lepage | Well done stick!! | 08:52:31 |
mcwitt | I'm running into some trouble linking programs that use dynamic parallelism (CDP) using the Nix CUDA toolchain: the linker fails to find a couple of CDP symbols, e.g.
nvlink error : Undefined reference to '__cudaCDP2GetParameterBufferV2' in '/tmp/tmpxft_002f57e3_00000000-11_test_cdp.o'
nvlink error : Undefined reference to '__cudaCDP2LaunchDeviceV2' in '/tmp/tmpxft_002f57e3_00000000-11_test_cdp.o'
I put together a minimal repro here: https://gist.github.com/mcwitt/94b13848ffdf762c587e9bea1257c02b
I see some issues have been mentioned in the past, but no resolution was noted: https://github.com/NVIDIA/cuda-samples/issues/264
| 21:39:15 |
mcwitt | * I'm running into some trouble linking programs that use dynamic parallelism (CDP) using the NixOS CUDA toolchain: the linker fails to find a couple of CDP symbols, e.g.
nvlink error : Undefined reference to '__cudaCDP2GetParameterBufferV2' in '/tmp/tmpxft_002f57e3_00000000-11_test_cdp.o'
nvlink error : Undefined reference to '__cudaCDP2LaunchDeviceV2' in '/tmp/tmpxft_002f57e3_00000000-11_test_cdp.o'
I put together a minimal repro here: https://gist.github.com/mcwitt/94b13848ffdf762c587e9bea1257c02b
I see some issues have been mentioned in the past, but no resolution was noted: https://github.com/NVIDIA/cuda-samples/issues/264
| 21:40:49 |
| eugeniusz joined the room. | 23:33:31 |
| 29 Mar 2025 |
ruro | I think I saw very similar error messages while trying to fix cuda-samples and I was able to fix them by explicitly adding a -L${CUDA_PATH}/lib to the nvcc invocation, where CUDA_PATH is a symlinkJoin with a bunch of cuda libs (not 100% sure, which specific ones were needed for the __cudaCDP2* symbols, maybe cuda_cudart or cuda_cudart.static?). | 07:26:15 |
| 1 Apr 2025 |
| Artem Andreenko joined the room. | 09:58:12 |
| Adam Neverwas set a profile picture. | 23:15:44 |
| 2 Apr 2025 |
| @athyfr:matrix.org joined the room. | 01:29:37 |
| 3 Apr 2025 |
| theabm joined the room. | 12:00:11 |
| 5 Apr 2025 |
| underpantsgnome left the room. | 15:47:02 |
| 8 Apr 2025 |
SomeoneSerge (back on matrix) | Kevin Mittman: are you aware of https://github.com/systemd/systemd/pull/32234/? It woudl be great to have this for CUDAToolkit and other components | 14:25:50 |
connor (he/him) | Hey all, some notes from a call I had with Serge about some priorities we're tracking: https://pad.lassul.us/s/GBcXdgeFz | 16:15:57 |
indoor_squirrel | In reply to @connorbaker:matrix.org Hey all, some notes from a call I had with Serge about some priorities we're tracking: https://pad.lassul.us/s/GBcXdgeFz It looks like there are hosted on Lassulus' personal site. Is that right? Any chance of (or any need to) getting these as files in some repo or something a bit more distributed? | 16:18:39 |
connor (he/him) | It's markdown, so we could definitely take them elsewhere, or even publish them on GitHub pages, but no immediate plans to do that due to lack of time | 16:20:03 |
indoor_squirrel | Does nixpkgs use gh-pages? | 16:20:29 |
indoor_squirrel | Seems like a great place for "project" notes. | 16:20:37 |