Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
MPILocalLookupCache.h
Go to the documentation of this file.
1//===-- MPILocalLookupCache.h -- MPI local-lookup cache header --===//
2//
3// Part of the Proteus Project, under the Apache License v2.0 with LLVM
4// Exceptions. See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// MPI cache where stores are forwarded to rank 0 but lookups read from the
10// local shared filesystem. Suitable when all ranks share a filesystem.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef PROTEUS_MPILOCALLOOKUP_CACHE_H
15#define PROTEUS_MPILOCALLOOKUP_CACHE_H
16
18
19namespace proteus {
20
22public:
23 MPILocalLookupCache(const std::string &Label);
24
25 std::string getName() const override { return "MPILocalLookup"; }
26
27 std::unique_ptr<CompiledLibrary> lookup(const HashT &HashValue) override;
28};
29
30} // namespace proteus
31
32#endif
Definition Hashing.h:21
Definition MPILocalLookupCache.h:21
std::unique_ptr< CompiledLibrary > lookup(const HashT &HashValue) override
Definition MPILocalLookupCache.cpp:23
std::string getName() const override
Definition MPILocalLookupCache.h:25
Definition MPIStorageCache.h:31
const std::string Label
Definition MPIStorageCache.h:54
Definition MemoryCache.h:26