Skip to content

Commit

Permalink
device functions
Browse files Browse the repository at this point in the history
  • Loading branch information
esseivaju committed Dec 10, 2024
1 parent e2f55c0 commit 38ced31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orange/univ/detail/LazySenseCalculator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ class LazySenseCalculator
FaceId face_id,
OnFace face = {});

void invalidate_cache()
CELER_FUNCTION void invalidate_cache()
{
for (auto& flags : sense_flags_)
{
flags = unset_sense_mod(SenseMod::cached, flags);
}
}

OnFace& on_face() { return face_; }
CELER_FUNCTION OnFace& on_face() { return face_; }

private:
//! The first face encountered that we are "on"
Expand Down

0 comments on commit 38ced31

Please sign in to comment.