nvcc preserve symbols flag for dynamic library?

Hey - I’m trying to make a dynamically loaded cuda-enabled library in a Linux envt. Does nvcc have an option like -export-dynamic in gcc to not mangle the names? I read the nvcc doc & couldn’t find anything except the -shared option which is insufficient.

edit: problem solved. extern “C” & the light of day FTW.

1 Like

Hey, how did you solved your problem? I am dealing with a similar problem here.