Skip to content

Commit

Permalink
Remove nodiscard options which are breaking compilation on lumi
Browse files Browse the repository at this point in the history
  • Loading branch information
markusbattarbee committed Feb 6, 2024
1 parent 913ab95 commit e0c4392
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ constexpr inline size_t nextPow2(size_t v) noexcept {
* @brief Computes the next optimal overflow for the hasher kernels
*/
HASHINATOR_HOSTDEVICE
[[nodiscard]]
//[[nodiscard]]
constexpr inline size_t nextOverflow(size_t currentOverflow, size_t virtualWarp) noexcept {
size_t remainder = currentOverflow % virtualWarp;
return ((remainder)==0)?currentOverflow: currentOverflow + (virtualWarp - remainder);
Expand Down
8 changes: 4 additions & 4 deletions include/splitvector/splitvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,10 @@ class SplitVector {
* @brief Returns the residency information of this
* Splitvector
*/
HOSTDEVICE
[[nodiscard]] inline Residency getResidency()const noexcept{
return _location;
}
// HOSTDEVICE
// [[nodiscard]] inline Residency getResidency()const noexcept{
// return _location;
// }

/**
* @brief Copies metadata to a provided destination SplitInfo structure.
Expand Down

0 comments on commit e0c4392

Please sign in to comment.