mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 02:02:46 +00:00
Fix clang-format (#189)
* Fix clang-format filepath
* update docker and fix format
[ROCm/composable_kernel commit: 7353ec0c25]
This commit is contained in:
@@ -42,7 +42,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
|
||||
libnuma-dev \
|
||||
libpthread-stubs0-dev \
|
||||
llvm-amdgpu \
|
||||
miopengemm \
|
||||
pkg-config \
|
||||
python \
|
||||
python3 \
|
||||
@@ -51,19 +50,15 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
|
||||
python-pip \
|
||||
python3-pip \
|
||||
software-properties-common \
|
||||
sqlite3 \
|
||||
wget \
|
||||
rocm-dev \
|
||||
rocm-device-libs \
|
||||
rocm-opencl \
|
||||
rocm-opencl-dev \
|
||||
rocm-cmake \
|
||||
rocblas \
|
||||
vim \
|
||||
zlib1g-dev \
|
||||
openssh-server \
|
||||
kmod \
|
||||
mysql-client && \
|
||||
clang-format-10 \
|
||||
kmod && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -204,7 +204,7 @@ pipeline {
|
||||
stage('Clang Format') {
|
||||
agent{ label rocmnode("nogpu") }
|
||||
environment{
|
||||
execute_cmd = "find . -iname \'*.h\' \
|
||||
execute_cmd = "find .. -iname \'*.h\' \
|
||||
-o -iname \'*.hpp\' \
|
||||
-o -iname \'*.cpp\' \
|
||||
-o -iname \'*.h.in\' \
|
||||
|
||||
@@ -72,8 +72,13 @@ using DeviceConvBwdWeightInstance = ck::tensor_operation::device::
|
||||
8>; // CBlockTransferScalarPerVector_NWaveNPerXdl
|
||||
// clang-format on
|
||||
|
||||
using ReferenceConvBwdWeightInstance = ck::tensor_operation::host::
|
||||
ReferenceConvBwdWeight<InDataType, WeiDataType, OutDataType, InElementOp, WeiElementOp, OutElementOp>;
|
||||
using ReferenceConvBwdWeightInstance =
|
||||
ck::tensor_operation::host::ReferenceConvBwdWeight<InDataType,
|
||||
WeiDataType,
|
||||
OutDataType,
|
||||
InElementOp,
|
||||
WeiElementOp,
|
||||
OutElementOp>;
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user