Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions src/gpgmm/common/Backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_BACKEND_H_
#define GPGMM_COMMON_BACKEND_H_
#ifndef SRC_GPGMM_COMMON_BACKEND_H_
#define SRC_GPGMM_COMMON_BACKEND_H_

namespace gpgmm {

Expand Down Expand Up @@ -45,4 +45,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_BACKEND_H_
#endif // SRC_GPGMM_COMMON_BACKEND_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/BlockAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_BLOCKALLOCATOR_H_
#define GPGMM_COMMON_BLOCKALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_BLOCKALLOCATOR_H_
#define SRC_GPGMM_COMMON_BLOCKALLOCATOR_H_

#include "gpgmm/common/MemoryBlock.h"
#include "gpgmm/common/Object.h"
Expand All @@ -32,4 +32,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_BLOCKALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_BLOCKALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/BuddyBlockAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_
#define GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_
#define SRC_GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_

#include "gpgmm/common/BlockAllocator.h"
#include "gpgmm/utils/Limits.h"
Expand Down Expand Up @@ -113,4 +113,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_BUDDYBLOCKALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/BuddyMemoryAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_
#define GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_
#define SRC_GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_

#include "gpgmm/common/BuddyBlockAllocator.h"
#include "gpgmm/common/IndexedMemoryPool.h"
Expand Down Expand Up @@ -68,4 +68,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_BUDDYMEMORYALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/ConditionalMemoryAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_
#define GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_
#define SRC_GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_

#include "gpgmm/common/MemoryAllocator.h"

Expand Down Expand Up @@ -51,4 +51,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_CONDITIONALMEMORYALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/DedicatedMemoryAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_
#define GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_
#define SRC_GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_

#include "gpgmm/common/MemoryAllocator.h"

Expand Down Expand Up @@ -45,4 +45,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_DEDICATEDMEMORYALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/Defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_DEFAULTS_H_
#define GPGMM_COMMON_DEFAULTS_H_
#ifndef SRC_GPGMM_COMMON_DEFAULTS_H_
#define SRC_GPGMM_COMMON_DEFAULTS_H_

#include <cstdint>

Expand All @@ -23,4 +23,4 @@ namespace gpgmm {
static constexpr float kDefaultMemoryGrowthFactor = 1.25f; // 25% growth
} // namespace gpgmm

#endif // GPGMM_COMMON_DEFAULTS_H_
#endif // SRC_GPGMM_COMMON_DEFAULTS_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_ERROR_H_
#define GPGMM_COMMON_ERROR_H_
#ifndef SRC_GPGMM_COMMON_ERROR_H_
#define SRC_GPGMM_COMMON_ERROR_H_

#include "gpgmm/utils/Assert.h"

Expand Down Expand Up @@ -102,4 +102,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_ERROR_H_
#endif // SRC_GPGMM_COMMON_ERROR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/EventMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_EVENT_MESSAGE_H_
#define GPGMM_COMMON_EVENT_MESSAGE_H_
#ifndef SRC_GPGMM_COMMON_EVENTMESSAGE_H_
#define SRC_GPGMM_COMMON_EVENTMESSAGE_H_

#include "gpgmm/common/Message.h"
#include "gpgmm/common/Object.h"
Expand Down Expand Up @@ -78,4 +78,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_EVENT_MESSAGE_H_
#endif // SRC_GPGMM_COMMON_EVENTMESSAGE_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/EventTraceWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_EVENTTRACEWRITER_H_
#define GPGMM_COMMON_EVENTTRACEWRITER_H_
#ifndef SRC_GPGMM_COMMON_EVENTTRACEWRITER_H_
#define SRC_GPGMM_COMMON_EVENTTRACEWRITER_H_

#include "gpgmm/common/TraceEvent.h"

Expand Down Expand Up @@ -65,4 +65,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_EVENTTRACEWRITER_H_
#endif // SRC_GPGMM_COMMON_EVENTTRACEWRITER_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/GPUInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_GPUINFO_H_
#define GPGMM_COMMON_GPUINFO_H_
#ifndef SRC_GPGMM_COMMON_GPUINFO_H_
#define SRC_GPGMM_COMMON_GPUINFO_H_

namespace gpgmm {

Expand All @@ -28,4 +28,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_GPUINFO_H_
#endif // SRC_GPGMM_COMMON_GPUINFO_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/IndexedMemoryPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_INDEXEDMEMORYPOOL_H_
#define GPGMM_COMMON_INDEXEDMEMORYPOOL_H_
#ifndef SRC_GPGMM_COMMON_INDEXEDMEMORYPOOL_H_
#define SRC_GPGMM_COMMON_INDEXEDMEMORYPOOL_H_

#include "gpgmm/common/MemoryPool.h"

Expand All @@ -39,4 +39,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_INDEXEDMEMORYPOOL_H_
#endif // SRC_GPGMM_COMMON_INDEXEDMEMORYPOOL_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/JSONSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_JSONSERIALIZER_H_
#define GPGMM_COMMON_JSONSERIALIZER_H_
#ifndef SRC_GPGMM_COMMON_JSONSERIALIZER_H_
#define SRC_GPGMM_COMMON_JSONSERIALIZER_H_

#include "gpgmm/utils/JSONEncoder.h"

Expand All @@ -33,4 +33,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_JSONSERIALIZER_H_
#endif // SRC_GPGMM_COMMON_JSONSERIALIZER_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/LIFOMemoryPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_LIFOMEMORYPOOL_H_
#define GPGMM_COMMON_LIFOMEMORYPOOL_H_
#ifndef SRC_GPGMM_COMMON_LIFOMEMORYPOOL_H_
#define SRC_GPGMM_COMMON_LIFOMEMORYPOOL_H_

#include "gpgmm/common/MemoryPool.h"

Expand Down Expand Up @@ -41,4 +41,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_LIFOMEMORYPOOL_H_
#endif // SRC_GPGMM_COMMON_LIFOMEMORYPOOL_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/Memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORY_H_
#define GPGMM_COMMON_MEMORY_H_
#ifndef SRC_GPGMM_COMMON_MEMORY_H_
#define SRC_GPGMM_COMMON_MEMORY_H_

#include "gpgmm/common/Object.h"
#include "gpgmm/utils/RefCount.h"
Expand Down Expand Up @@ -48,4 +48,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORY_H_
#endif // SRC_GPGMM_COMMON_MEMORY_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/MemoryAllocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORYALLOCATION_H_
#define GPGMM_COMMON_MEMORYALLOCATION_H_
#ifndef SRC_GPGMM_COMMON_MEMORYALLOCATION_H_
#define SRC_GPGMM_COMMON_MEMORYALLOCATION_H_

#include "gpgmm/common/Object.h"
#include "gpgmm/utils/Limits.h"
Expand Down Expand Up @@ -101,4 +101,4 @@ namespace gpgmm {
};
} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORYALLOCATION_H_
#endif // SRC_GPGMM_COMMON_MEMORYALLOCATION_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/MemoryAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORYALLOCATOR_H_
#define GPGMM_COMMON_MEMORYALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_MEMORYALLOCATOR_H_
#define SRC_GPGMM_COMMON_MEMORYALLOCATOR_H_

#include "gpgmm/common/BlockAllocator.h"
#include "gpgmm/common/Error.h"
Expand Down Expand Up @@ -259,4 +259,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORYALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_MEMORYALLOCATOR_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/MemoryBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORYBLOCK_H_
#define GPGMM_COMMON_MEMORYBLOCK_H_
#ifndef SRC_GPGMM_COMMON_MEMORYBLOCK_H_
#define SRC_GPGMM_COMMON_MEMORYBLOCK_H_

#include "gpgmm/utils/Limits.h"

Expand All @@ -26,4 +26,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORYBLOCK_H_
#endif // SRC_GPGMM_COMMON_MEMORYBLOCK_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/MemoryCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORYCACHE_H_
#define GPGMM_COMMON_MEMORYCACHE_H_
#ifndef SRC_GPGMM_COMMON_MEMORYCACHE_H_
#define SRC_GPGMM_COMMON_MEMORYCACHE_H_

#include "gpgmm/utils/Assert.h"
#include "gpgmm/utils/NonCopyable.h"
Expand Down Expand Up @@ -212,4 +212,4 @@ namespace gpgmm {
};
} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORYCACHE_H_
#endif // SRC_GPGMM_COMMON_MEMORYCACHE_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/MemoryPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MEMORYPOOL_H_
#define GPGMM_COMMON_MEMORYPOOL_H_
#ifndef SRC_GPGMM_COMMON_MEMORYPOOL_H_
#define SRC_GPGMM_COMMON_MEMORYPOOL_H_

#include "gpgmm/common/MemoryAllocation.h"
#include "gpgmm/utils/Limits.h"
Expand Down Expand Up @@ -78,4 +78,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_MEMORYPOOL_H_
#endif // SRC_GPGMM_COMMON_MEMORYPOOL_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/Message.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_MESSAGE_H_
#define GPGMM_COMMON_MESSAGE_H_
#ifndef SRC_GPGMM_COMMON_MESSAGE_H_
#define SRC_GPGMM_COMMON_MESSAGE_H_

namespace gpgmm {

Expand Down Expand Up @@ -50,4 +50,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_MESSAGE_H_
#endif // SRC_GPGMM_COMMON_MESSAGE_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/Object.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_OBJECT_H_
#define GPGMM_COMMON_OBJECT_H_
#ifndef SRC_GPGMM_COMMON_OBJECT_H_
#define SRC_GPGMM_COMMON_OBJECT_H_

namespace gpgmm {

Expand All @@ -35,4 +35,4 @@ namespace gpgmm {
}
} // namespace gpgmm

#endif // GPGMM_COMMON_OBJECT_H_
#endif // SRC_GPGMM_COMMON_OBJECT_H_
6 changes: 3 additions & 3 deletions src/gpgmm/common/PooledMemoryAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_
#define GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_
#ifndef SRC_GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_
#define SRC_GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_

#include "gpgmm/common/MemoryAllocator.h"

Expand Down Expand Up @@ -47,4 +47,4 @@ namespace gpgmm {

} // namespace gpgmm

#endif // GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_
#endif // SRC_GPGMM_COMMON_POOLEDMEMORYALLOCATOR_H_
Loading