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
gaoqiong
MIGraphX
Commits
80bf741a
Commit
80bf741a
authored
May 19, 2023
by
Alan Turner
Browse files
Merge remote-tracking branch 'origin/develop' into ck-int8-fusion
parents
99626b4c
0e6ee3f7
Changes
136
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
52 additions
and
23 deletions
+52
-23
docs/CMakeLists.txt
docs/CMakeLists.txt
+9
-5
docs/conf.py
docs/conf.py
+37
-0
docs/contributor_guide.rst
docs/contributor_guide.rst
+0
-0
docs/cpp_user_guide.rst
docs/cpp_user_guide.rst
+0
-0
docs/data/roctx1.jpg
docs/data/roctx1.jpg
+0
-0
docs/data/roctx2.jpg
docs/data/roctx2.jpg
+0
-0
docs/dev/data.rst
docs/dev/data.rst
+0
-0
docs/dev/matchers.rst
docs/dev/matchers.rst
+0
-0
docs/dev/operators.rst
docs/dev/operators.rst
+0
-0
docs/dev/pass.rst
docs/dev/pass.rst
+0
-0
docs/dev/program.rst
docs/dev/program.rst
+0
-0
docs/dev/quantization.rst
docs/dev/quantization.rst
+0
-0
docs/dev/targets.rst
docs/dev/targets.rst
+0
-0
docs/dev/tools.rst
docs/dev/tools.rst
+3
-3
docs/dev_intro.rst
docs/dev_intro.rst
+0
-0
docs/driver.rst
docs/driver.rst
+0
-0
docs/driver/compile.rst
docs/driver/compile.rst
+0
-4
docs/driver/read.rst
docs/driver/read.rst
+0
-0
docs/index.rst
docs/index.rst
+3
-11
docs/py_user_guide.rst
docs/py_user_guide.rst
+0
-0
No files found.
doc
/requiremen
ts.txt
→
doc
s/CMakeLis
ts.txt
100644 → 100755
View file @
80bf741a
...
...
@@ -21,8 +21,12 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#####################################################################################
docutils==0.17.1
sphinx==4.2.0
breathe==4.31.0
sphinx_rtd_theme==1.0.0
# git+https://github.com/arximboldi/breathe@fix-node-parent
project
(
migraphx-doc
)
find_package
(
ROCM REQUIRED
)
include
(
ROCMSphinxDoc
)
rocm_add_sphinx_doc
(
.
BUILDER html
OUTPUT_DIR html
)
docs/conf.py
0 → 100755
View file @
80bf741a
# Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
from
rocm_docs
import
ROCmDocs
setting_all_article_info
=
True
all_article_info_os
=
[
"linux"
]
docs_core
=
ROCmDocs
(
"AMD MIGraphX Documentation"
)
docs_core
.
run_doxygen
()
docs_core
.
setup
()
for
sphinx_var
in
ROCmDocs
.
SPHINX_VARS
:
globals
()[
sphinx_var
]
=
getattr
(
docs_core
,
sphinx_var
)
doc
/src
/contributor_guide.rst
→
doc
s
/contributor_guide.rst
View file @
80bf741a
File moved
doc
/src
/cpp_user_guide.rst
→
doc
s
/cpp_user_guide.rst
View file @
80bf741a
File moved
doc
/src/dev
/roctx1.jpg
→
doc
s/data
/roctx1.jpg
View file @
80bf741a
File moved
doc
/src/dev
/roctx2.jpg
→
doc
s/data
/roctx2.jpg
View file @
80bf741a
File moved
doc
/src
/dev/data.rst
→
doc
s
/dev/data.rst
View file @
80bf741a
File moved
doc
/src
/dev/matchers.rst
→
doc
s
/dev/matchers.rst
View file @
80bf741a
File moved
doc
/src
/dev/operators.rst
→
doc
s
/dev/operators.rst
View file @
80bf741a
File moved
doc
/src
/dev/pass.rst
→
doc
s
/dev/pass.rst
View file @
80bf741a
File moved
doc
/src
/dev/program.rst
→
doc
s
/dev/program.rst
View file @
80bf741a
File moved
doc
/src
/dev/quantization.rst
→
doc
s
/dev/quantization.rst
View file @
80bf741a
File moved
doc
/src
/dev/targets.rst
→
doc
s
/dev/targets.rst
View file @
80bf741a
File moved
doc
/src
/dev/tools.rst
→
doc
s
/dev/tools.rst
View file @
80bf741a
...
...
@@ -53,13 +53,13 @@ Average total time is also provided. There are three files provided for referenc
An example output:
.. image:: ./roctx1.jpg
.. image:: .
./data
/roctx1.jpg
Hotspot kerel timing information:
.. image:: ./roctx2.jpg
.. image:: .
./data
/roctx2.jpg
**Parsing an already existing JSON file:**
::
python roctx.py --parse --json-path ../trace.json
\ No newline at end of file
python roctx.py --parse --json-path ../trace.json
doc
/src
/dev_intro.rst
→
doc
s
/dev_intro.rst
View file @
80bf741a
File moved
doc
/src
/driver.rst
→
doc
s
/driver.rst
View file @
80bf741a
File moved
doc
/src
/driver/compile.rst
→
doc
s
/driver/compile.rst
View file @
80bf741a
...
...
@@ -32,10 +32,6 @@ Disable fast math optimization
Perform an exhaustive search to find the fastest version of generated kernels for selected backend
.. options:: --split-single-dyn-dim
Enable the split single dynamic dimension pass
.. option:: --fp16
Quantize for fp16
...
...
doc
/src
/driver/read.rst
→
doc
s
/driver/read.rst
View file @
80bf741a
File moved
doc
/src
/index.rst
→
doc
s
/index.rst
View file @
80bf741a
...
...
@@ -3,18 +3,10 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to AMD MIGraphX's documentation!
========================================
.. toctree::
:maxdepth: 3
:caption: Contents:
py_user_guide
cpp_user_guide
driver
contributor_guide
AMD MIGraphX documentation
==========================
AMD MIGraphX is AMD's graph inference engine that accelerates machine learning model inference.
Indices and tables
==================
...
...
doc
/src
/py_user_guide.rst
→
doc
s
/py_user_guide.rst
View file @
80bf741a
File moved
Prev
1
2
3
4
5
6
7
Next
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