Skip to content

Commit

Permalink
make the derived member implementations protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Jul 9, 2024
1 parent c312794 commit d73e338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphbolt/src/cache_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class BaseCachePolicy {
*/
virtual void ReadingCompleted(torch::Tensor keys) = 0;

protected:
template <typename CachePolicy>
static std::tuple<torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor>
QueryImpl(CachePolicy& policy, torch::Tensor keys);
Expand Down

0 comments on commit d73e338

Please sign in to comment.