alpaka-group / alpaka

Abstraction Library for Parallel Kernel Acceleration :llama:
https://alpaka.readthedocs.io
Mozilla Public License 2.0
337 stars 69 forks source link

fix alpaka_add_library relocatable device code #2273

Closed ichinii closed 1 month ago

ichinii commented 1 month ago

alpaka_add_library did not enable relocatable device code, because the wrong identifier for the library name was used.

I changed the identifier to be consistent with contents of addExecutable.cmake

SimeonEhrig commented 1 month ago

@ichinii Thanks for fixing the bug. I found out, that you CI does not cover relocatable device code for alpaka_add_library.