Benchmark copy of data from one pool to another pool either in
one or both directions. Users can enumerate the pools reported by system to specify which pools serve as source / destination Change-Id: I8e6d0adb3743b3328dd3ce9152762ca840ea613b
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
#include "hsatimer.hpp"
|
||||
#include "rocm_async.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
// Create the Bandwidth test object
|
||||
RocmAsync bw_test(argc, argv);
|
||||
|
||||
// Initialize the Bandwidth test object
|
||||
bw_test.SetUp();
|
||||
|
||||
// Run the Bandwidth tests requested by user
|
||||
bw_test.Run();
|
||||
|
||||
// Display the time taken by various tests
|
||||
bw_test.Display();
|
||||
|
||||
// Release the Bandwidth test object resources
|
||||
bw_test.Close();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user