LAMA
|
00001 00033 #ifndef LAMA_PGASNOINTERFACE_HPP_ 00034 #define LAMA_PGASNOINTERFACE_HPP_ 00035 00036 #include <lama/pgas/PGASInterface.hpp> 00037 00038 namespace lama 00039 { 00040 class PGASNoInterface: public PGASInterface 00041 { 00042 public: 00043 virtual void* allocate(size_t size) const; 00044 virtual void free(void* ptr, const size_t size) const; 00045 virtual void syncronizeAll() const; 00046 virtual bool isPinned(const void* const ptr) const; 00047 virtual PGASSyncToken* getSyncToken(int arg1) const; 00048 virtual PartitionId getRank() const; 00049 virtual PartitionId getSize() const; 00050 00051 virtual PGASCommunicationKind getPreferredCommunicationKind() const; 00052 00053 virtual void get(void* dst, const void* src, size_t length, int srcpe) const; 00054 virtual void put(void* dst, const void* src, size_t length, int srcpe) const; 00055 virtual void writeAt( std::ostream& stream ) const; 00056 PGASNoInterface(); 00057 virtual ~PGASNoInterface(); 00058 }; 00059 } 00060 #endif // LAMA_PGASNOINTERFACE_HPP_