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_(executable|library) #1364

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

psychocoderHPC
Copy link
Member

  • activate language CUDA if CUDA back-end is enabled
  • fix missing argument in SET_SOURCE_FILES_PROPERTIES

This PR fix alpaka-group/cupla#203 (comment) due to the missing argument PROPERTIES files were not handled as CUDA files.
Additionally alpaka_add_executable and alpaka_add_library are macros and will be executed in users application scope, therefore the cmake language CUDA must be loaded else the compiler can not give the files to the correct compiler.

I will open a PR for the dev branch as soon as this is merged. There is no need to add this bug to the changelog because it is a bug introduced in 0.7.0 and not exists in 0.6.X.

- activate language `CUDA` if CUDA back-end is enabled
- fix missing argument in `SET_SOURCE_FILES_PROPERTIES`
@j-stephan j-stephan merged commit f0cfd52 into alpaka-group:0.7.0-rc1 Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants