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

Cleanup defines, includes, file names, and debug messages #122

Merged
merged 4 commits into from
Aug 9, 2018

Commits on Aug 9, 2018

  1. Do not #ifdef on __NVCC__

    To protect CUDA-aware code sections, check if the __CUDACC__ symbol is defined.
    The symbol __NVCC__ is defined when building with nvcc, but not when building CUDA code with clang.
    
    Other cleanup (change __inline__ to inline, fix include guards, whitespaces, etc.).
    fwyzard committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    42bafbe View commit details
    Browse the repository at this point in the history
  2. Move header files to the interface/ directory

    Move header files referenced from outside their directory to the interface/ directory.
    Update the #include guards accordingly.
    fwyzard committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    457b1fc View commit details
    Browse the repository at this point in the history
  3. Rename PixelTrackReconstructionGPU_impl

    Rename PixelTrackReconstructionGPU_impl.cu to PixelTrackReconstructionGPU.cu.
    Remove a debug printf message.
    fwyzard committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    02614f7 View commit details
    Browse the repository at this point in the history
  4. Cleanup #defines and debug messages

    Include <cuda_runtime.h> instead of <cuda.h> to handle the CUDA
    attributes in non-CUDA compilations.
    Remove a debug printf message.
    fwyzard committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    439dee2 View commit details
    Browse the repository at this point in the history