Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <hip/hip_ext.h>
#include <hipcub/hipcub.hpp>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow" // FIXME: Is this still needed?
// #pragma GCC diagnostic ignored "-Wshadow" // VS: This compiler directive for -Wshadow is not needed.

Check failure on line 26 in GPU/GPUTracking/Base/hip/GPUReconstructionHIPIncludesSystem.h

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove the pragma diagnostic ignored, please also remove the related pragma diagnostic push and pop. And you can also please remove the lines, not just comment them. Finally, if you work in the GPU code, please prepend the PR title with a "GPU:"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks David,
I'll remove all three lines (push, pragma diagnostic, pop) and commit again.
Changed the PR name from TODO to GPU.

#include <thrust/sort.h>
#include <thrust/execution_policy.h>
#include <thrust/device_ptr.h>
Expand Down
Loading