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
composable_kernel
Commits
c0b7c9f5
Commit
c0b7c9f5
authored
Jul 07, 2023
by
Adam Osewski
Browse files
Merge remote-tracking branch 'origin/develop' into aosewski/gemm_tile_loop
parents
f4208484
87f2bbcf
Changes
105
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
2 deletions
+40
-2
script/check_copyright_year.sh
script/check_copyright_year.sh
+17
-0
script/install_precommit.sh
script/install_precommit.sh
+20
-0
script/uninstall_precommit.sh
script/uninstall_precommit.sh
+1
-0
test/batched_gemm_multi_d/test_batched_gemm_multi_d.cpp
test/batched_gemm_multi_d/test_batched_gemm_multi_d.cpp
+1
-1
test/gemm/instance/gemm_wavelet_f16_tn_instance.cpp
test/gemm/instance/gemm_wavelet_f16_tn_instance.cpp
+1
-1
No files found.
script/check_copyright_year.sh
0 → 100755
View file @
c0b7c9f5
#!/bin/bash
current_year
=
$(
date
+%Y
)
exit_code
=
0
for
file
in
$@
;
do
if
grep
-q
"Copyright (c)"
$file
then
if
!
grep
-q
"Copyright (c).*
$current_year
"
$file
then
echo
"ERROR: File
$file
has a copyright notice without the current year (
$current_year
)."
exit_code
=
1
fi
fi
done
exit
$exit_code
script/install_precommit.sh
0 → 100755
View file @
c0b7c9f5
#!/bin/bash
run_and_check
()
{
"
$@
"
status
=
$?
if
[
$status
-ne
0
]
;
then
echo
"Error with
\"
$@
\"
: Exited with status
$status
"
exit
$status
fi
return
$status
}
echo
"I: Installing tools required for pre-commit checks..."
run_and_check apt
install
clang-format-10
echo
"I: Installing pre-commit itself..."
run_and_check pip3
install
pre-commit
run_and_check pre-commit
install
echo
"I: Installation successful."
script/uninstall_precommit.sh
0 → 100755
View file @
c0b7c9f5
pre-commit uninstall
test/batched_gemm_multi_d/test_batched_gemm_multi_d.cpp
View file @
c0b7c9f5
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
2
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
3
, Advanced Micro Devices, Inc. All rights reserved.
#include <iostream>
#include <gtest/gtest.h>
...
...
test/gemm/instance/gemm_wavelet_f16_tn_instance.cpp
View file @
c0b7c9f5
...
...
@@ -5,7 +5,7 @@
#include "ck/ck.hpp"
#include "ck/library/tensor_operation_instance/add_device_operation_instance.hpp"
#include "ck/tensor_operation/gpu/device/device_gemm_xdl_waveletmodel_cshuffle.hpp"
#include "ck/tensor_operation/gpu/device/
impl/
device_gemm_xdl_waveletmodel_cshuffle.hpp"
#include "ck/tensor_operation/gpu/device/gemm_specialization.hpp"
#include "ck/tensor_operation/gpu/device/tensor_layout.hpp"
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
...
...
Prev
1
2
3
4
5
6
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