Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
rocm_bandwidth_test
Commits
255785b9
Unverified
Commit
255785b9
authored
Apr 19, 2018
by
Gregory Stoner
Committed by
GitHub
Apr 19, 2018
Browse files
Update README.md
parent
9a2a4404
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
README.md
README.md
+68
-0
No files found.
README.md
View file @
255785b9
# rocm_bandwidth_test
# rocm_bandwidth_test
Introduction:
#############
RocBandwidthTest is designed to capture the performance characteristics of buffer
copying and kernel read/write operations. The help screen of the benchmark
shows various options one can use in initiating cop/read/writer operations.
In addition one can also query the topology of the system in terms of memory
pools and their agents
Build Environment:
##################
To be able to build RocBandwidthTest, users must ensure that the build platform has
following conditions satisfied:
Build Procedure:
################
The following simply lists the steps to build RocBandwidthTest
--- Define following environment variable to specify location of header
and library files
// Contains header files exported by ROC Runtime
ROCR_INC_DIR="Path of ROC Runtime Header Files"
// Contains library files exported by ROC Runtime
ROCR_LIB_DIR="Path of ROC Runtime Library Files"
// Contains header files exported by ROC Thunk
ROCT_INC_DIR="Path of ROC Runtime Header Files"
// Contains library files exported by ROC Thunk
ROCT_LIB_DIR="Path of ROC Runtime Library Files"
--- Create a build directory in the project folder - roc_bandwidth_test.
e.g. mkdir ./build
--- Set working directory to be the new build directory
e.g. cd ./build
--- Invoke Cmake to interpret build rules and generate native build files
The argument for cmake should be the root folder of RocBandwidthTest
test suite
// Builds Release version (default)
// Assumes pwd is .../roc_bandwidth_test/build
e.g. cmake ..
// Builds Debug version
// Assumes pwd is .../roc_bandwidth_test/build
e.g. cmake -DCMAKE_BUILD_TYPE:STRING=Debug ..
--- Invoke the native build rules generated by cmake to build the various
object, library and executable files
e.g. make
--- Invoke the install command to copy build artifacts to pre-defined folders
of RocBandwidthTest suite. Upon completion artifacts will be copied to the
bin and lib directories of build directory
e.g. make install
@note: All executables will be found in <build_directory>/bin folder
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment