!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

290 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda57 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Mar 2025
@glepage:matrix.orgGaƩtan Lepage Well done stick!! 08:52:31
@mcwitt:matrix.orgmcwitt

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:matrix.orgmcwitt *

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:matrix.orgeugeniusz joined the room.23:33:31
29 Mar 2025
@ruroruro:matrix.orgruro 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
@dustyentropy:matrix.orgArtem Andreenko joined the room.09:58:12
@adam_neverwas:matrix.orgAdam Neverwas set a profile picture.23:15:44
2 Apr 2025
@athyfr:matrix.org@athyfr:matrix.org joined the room.01:29:37
3 Apr 2025
@theabm:matrix.orgtheabm joined the room.12:00:11
5 Apr 2025
@tinybronca:sibnsk.netunderpantsgnome left the room.15:47:02
8 Apr 2025
@ss:someonex.netSomeoneSerge (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
@connorbaker:matrix.orgconnor (he/him)Hey all, some notes from a call I had with Serge about some priorities we're tracking: https://pad.lassul.us/s/GBcXdgeFz16:15:57
@indoor_squirrel:matrix.orgindoor_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
@connorbaker:matrix.orgconnor (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 time16:20:03
@indoor_squirrel:matrix.orgindoor_squirrelDoes nixpkgs use gh-pages?16:20:29
@indoor_squirrel:matrix.orgindoor_squirrelSeems like a great place for "project" notes.16:20:37

Show newer messages


Back to Room ListRoom Version: 9