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

support for clang as host && device compiler #1933

Merged

Commits on Mar 15, 2017

  1. support for clang as host and device compiler

    - use C++11 `static_assert` if clang is the device compiler
    - `PMaccConfig.cmake`
      - add compiler independent options: CUDA_FAST_MATH, CUDA_FTZ, CUDA_SHOW_REGISTER and CUDA_KEEP_FILES
      - add clang compiler flag preperation section
      - add option to select the device (CUDA) compiler
    - PIConGPU `CmakeList.txt`
      - add clang compiler section to create the device code
      - add option `CUDAMEMTEST_ENABLE`
      - set `CUDAMEMTEST_ENABLE=OFF` if clang is the device compiler
    psychocoderHPC committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    427e765 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. add @ax3l's annotations

    - remove dead code
    - change usage of `add_definitions()` to old `set(CMAKE_CXX_FLAGS ... -DDEFINE)`
    - add comments
    psychocoderHPC committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    f7dc89d View commit details
    Browse the repository at this point in the history