Files
rocm-systems/projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp
T
systems-assistant[bot] d8cba83d42 Add 'projects/rocr-runtime/' from commit '72061a9024139fa0a99f73f9d3d4deb275670095'
git-subtree-dir: projects/rocr-runtime
git-subtree-mainline: ad0fb25ed5
git-subtree-split: 72061a9024
2025-07-22 22:52:49 +00:00

26 lines
496 B
C++

#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;
}