Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix alpaka_add_library relocatable device code #2273

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmake/addLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# Using a macro to stay in the scope (fixes lost assignment of linker command in FindHIP.cmake)
# https://github.com/ROCm-Developer-Tools/HIP/issues/631

macro(alpaka_add_library libraryName)
macro(alpaka_add_library In_Name)
# add_library( <name> [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [<source>...])

add_library(${libraryName} ${ARGN})
add_library(${In_Name} ${ARGN})

if(alpaka_ACC_GPU_CUDA_ENABLE)
enable_language(CUDA)
Expand Down
Loading