Mihku

Results 4 comments of Mihku

Thank you for the reply. I tried but got the same error.

This gives me the following errors: ``` /usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `hipDeviceSynchronize': tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x3ca): undefined reference to `cudaDeviceSynchronize' /usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `libb::printGPUInfo()': tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x44c): undefined reference to `__cudaPushCallConfiguration' /usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in...

> I had a chat with the compiler folks, turns out -fgpu-rdc option is supported only with static libs and not dynamic lib. > > so it needs to be:...

Thanks for the reply, for now I have a workaround, so I'll close it.