[TransferBench] Adding #CUs / RRLW mode to p2p benchmark (#464)

This commit is contained in:
gilbertlee-amd
2021-11-08 14:36:04 -07:00
کامیت شده توسط GitHub
والد bc2932be4e
کامیت 1c7ef1b790
2فایلهای تغییر یافته به همراه54 افزوده شده و 36 حذف شده
@@ -122,10 +122,11 @@ void DeallocateMemory(MemType memType, int devIndex, float* memPtr);
void CheckPages(char* byteArray, size_t numBytes, int targetId);
void CheckOrFill(ModeType mode, int N, bool isMemset, bool isHipCall, std::vector<float> const& fillPattern, float* ptr);
void RunLink(EnvVars const& ev, size_t const N, int const iteration, Link& link);
void RunPeerToPeerBenchmarks(EnvVars const& ev, size_t N);
void RunPeerToPeerBenchmarks(EnvVars const& ev, size_t N, int numBlocksToUse);
double GetPeakBandwidth(EnvVars const& ev, size_t N, int isBidirectional,
MemType srcMemType, int srcIndex,
MemType dstMemType, int dstIndex);
MemType dstMemType, int dstIndex,
int readMode);
std::string GetLinkTypeDesc(uint32_t linkType, uint32_t hopCount);
std::string GetDesc(MemType srcMemType, int srcIndex,