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
cccf7d09
Unverified
Commit
cccf7d09
authored
Nov 11, 2022
by
Ted Themistokleous
Committed by
GitHub
Nov 11, 2022
Browse files
Merge branch 'develop' into fix_parse_if
parents
6f86d89d
df2e7635
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
26 deletions
+36
-26
.github/workflows/ci.yaml
.github/workflows/ci.yaml
+33
-23
src/targets/gpu/compile_miopen.cpp
src/targets/gpu/compile_miopen.cpp
+1
-1
src/targets/gpu/gemm_impl.cpp
src/targets/gpu/gemm_impl.cpp
+1
-1
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
+1
-1
No files found.
.github/workflows/ci.yaml
View file @
cccf7d09
...
@@ -7,7 +7,7 @@ jobs:
...
@@ -7,7 +7,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Cancel Previous Runs
-
name
:
Cancel Previous Runs
uses
:
styfle/cancel-workflow-action@0.
6
.0
uses
:
styfle/cancel-workflow-action@0.
11
.0
with
:
with
:
access_token
:
${{ github.token }}
access_token
:
${{ github.token }}
tidy
:
tidy
:
...
@@ -15,9 +15,19 @@ jobs:
...
@@ -15,9 +15,19 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
|
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android /usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v2
du . --max-depth=1 -h
ls -la
cd /usr/local
du . --max-depth=1 -h
ls -la
cd /usr/local/lib
echo $(pwd)
du . --max-depth=1 -h
ls -la
-
uses
:
actions/checkout@v3
# In this step, this action saves a list of existing images,
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# the cache is created without them in the post run.
...
@@ -34,7 +44,7 @@ jobs:
...
@@ -34,7 +44,7 @@ jobs:
message("::set-output name=timestamp::${current_date}")
message("::set-output name=timestamp::${current_date}")
-
name
:
Cache files for tidy
-
name
:
Cache files for tidy
uses
:
pat-s/always-upload-cache@v
2.1.3
uses
:
pat-s/always-upload-cache@v
3.0.11
with
:
with
:
path
:
tidy-cache
path
:
tidy-cache
key
:
tidy-cache-${{ steps.cache_timestamp.outputs.timestamp }}
key
:
tidy-cache-${{ steps.cache_timestamp.outputs.timestamp }}
...
@@ -65,8 +75,8 @@ jobs:
...
@@ -65,8 +75,8 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
# In this step, this action saves a list of existing images,
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# the cache is created without them in the post run.
...
@@ -110,8 +120,8 @@ jobs:
...
@@ -110,8 +120,8 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
# In this step, this action saves a list of existing images,
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# the cache is created without them in the post run.
...
@@ -146,10 +156,10 @@ jobs:
...
@@ -146,10 +156,10 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@v
2
uses
:
actions/setup-python@v
4
with
:
with
:
python-version
:
3.8
python-version
:
3.8
-
name
:
Install pyflakes
-
name
:
Install pyflakes
...
@@ -167,10 +177,10 @@ jobs:
...
@@ -167,10 +177,10 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@v
2
uses
:
actions/setup-python@v
4
with
:
with
:
python-version
:
3.8
python-version
:
3.8
-
name
:
run License Check
-
name
:
run License Check
...
@@ -198,16 +208,16 @@ jobs:
...
@@ -198,16 +208,16 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@v
2
uses
:
actions/setup-python@v
4
with
:
with
:
python-version
:
3.7
python-version
:
3.7
-
name
:
Cache dependencies
-
name
:
Cache dependencies
# Ignore the failure of a step and avoid terminating the job.
# Ignore the failure of a step and avoid terminating the job.
continue-on-error
:
true
continue-on-error
:
true
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
with
:
# This path is specific to Ubuntu
# This path is specific to Ubuntu
path
:
${{ github.workspace }}/cget
path
:
${{ github.workspace }}/cget
...
@@ -294,16 +304,16 @@ jobs:
...
@@ -294,16 +304,16 @@ jobs:
steps
:
steps
:
-
name
:
Free space
-
name
:
Free space
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
run
:
sudo rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc /usr/local/share/chrom* /usr/share/swift /usr/local/julia* /usr/local/lib/android
/usr/local/graalvm /usr/local/aws* /usr/local/lib/heroku
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@v
2
uses
:
actions/setup-python@v
4
with
:
with
:
python-version
:
3.7
python-version
:
3.7
-
name
:
Cache dependencies
-
name
:
Cache dependencies
# Ignore the failure of a step and avoid terminating the job.
# Ignore the failure of a step and avoid terminating the job.
continue-on-error
:
true
continue-on-error
:
true
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
with
:
# This path is specific to Ubuntu
# This path is specific to Ubuntu
path
:
${{ github.workspace }}/cget
path
:
${{ github.workspace }}/cget
...
...
src/targets/gpu/compile_miopen.cpp
View file @
cccf7d09
...
@@ -64,7 +64,7 @@ std::size_t compile_miopen::compile(operation& op, instruction_ref ins, bool for
...
@@ -64,7 +64,7 @@ std::size_t compile_miopen::compile(operation& op, instruction_ref ins, bool for
{
{
op
.
from_value
({{
"int8_x4_format"
,
format
}});
op
.
from_value
({{
"int8_x4_format"
,
format
}});
auto
v
=
op
.
compile
(
*
ctx
,
ins
->
get_shape
(),
to_shapes
(
ins
->
inputs
()));
auto
v
=
op
.
compile
(
*
ctx
,
ins
->
get_shape
(),
to_shapes
(
ins
->
inputs
()));
return
v
.
get
(
"workspace"
,
0
);
return
v
.
get
<
std
::
size_t
>
(
"workspace"
,
0
);
}
}
void
compile_miopen
::
apply
(
module
&
m
)
const
void
compile_miopen
::
apply
(
module
&
m
)
const
...
...
src/targets/gpu/gemm_impl.cpp
View file @
cccf7d09
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* THE SOFTWARE.
*/
*/
#include <rocblas.h>
#include <rocblas
/rocblas
.h>
#include <migraphx/gpu/gemm_impl.hpp>
#include <migraphx/gpu/gemm_impl.hpp>
#include <migraphx/reduce_dims.hpp>
#include <migraphx/reduce_dims.hpp>
#include <migraphx/permutation.hpp>
#include <migraphx/permutation.hpp>
...
...
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
View file @
cccf7d09
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#define MIGRAPHX_GUARD_MIGRAPHLIB_ROCBLAS_HPP
#define MIGRAPHX_GUARD_MIGRAPHLIB_ROCBLAS_HPP
#include <migraphx/manage_ptr.hpp>
#include <migraphx/manage_ptr.hpp>
#include <migraphx/config.hpp>
#include <migraphx/config.hpp>
#include <rocblas.h>
#include <rocblas
/rocblas
.h>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
...
...
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