00001 00023 #ifndef GALOIS_MEM_H 00024 #define GALOIS_MEM_H 00025 00026 #include "Galois/Runtime/mm/Mem.h" 00027 00028 namespace Galois { 00029 00031 typedef GaloisRuntime::MM::SimpleBumpPtrWithMallocFallback<GaloisRuntime::MM::FreeListHeap<GaloisRuntime::MM::SystemBaseAlloc> > IterAllocBaseTy; 00032 00034 typedef GaloisRuntime::MM::ExternRefGaloisAllocator<char, IterAllocBaseTy> PerIterAllocTy; 00035 00038 template<typename Ty> 00039 struct GFixedAllocator : public GaloisRuntime::MM::FSBGaloisAllocator<Ty> { }; 00040 00041 } 00042 #endif
1.6.1