diff --git a/OAT.xml b/OAT.xml new file mode 100644 index 0000000000000000000000000000000000000000..22d8822cf0914f932148158afc9f8a5c3ffe4ed1 --- /dev/null +++ b/OAT.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.OpenSource b/README.OpenSource new file mode 100644 index 0000000000000000000000000000000000000000..d515299279f3c1bbf6ce4aaf9353b2052b823a12 --- /dev/null +++ b/README.OpenSource @@ -0,0 +1,11 @@ +[ + { + "Name": "MindSpore", + "License": "Apache-2.0", + "License File": "LICENSE", + "Version Number": "1.6.0", + "Owner": "zhaizhiqiang@huawei.com", + "Upstream URL": "https://gitee.com/mindspore/mindspore/repository/archive/v1.6.0?format=zip", + "Description": "...." + } +] diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDw3x3Int8BorderPixel.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDw3x3Int8BorderPixel.S index fc9bc19abfc5ef428d843dafc735ee9f02ac3730..1d9616753e228f36eaf9fabcd9e920d55ee5898f 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDw3x3Int8BorderPixel.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDw3x3Int8BorderPixel.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Border.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Border.S index 0de05fa75ccc0b664eb8c882fa0c18735b14eda9..b1f68f0fe193332eba539e35ddd0fdf16ea45f3c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Border.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Border.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Center.S index 4bd90cad29bf3b79ec1f61aeafbf0b0d76eb8d3a..8e1c6afe6f3031028bb9354925a00ce9d52e58e6 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Row.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Row.S index d66a780b73efaa00ec9dea6fc3d7e3a43d9b40c1..8d1d819d8981f445eded96a8e86cc42da6bf834a 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Row.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwFp32Row.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Center.S index 10becb55a37618598b75b5e8bd54972354d71b94..0f72bfef56e52cd71bfb1cc885c062e7a12e9a5a 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4.S index ca3a0624f5a30e234f92b0ef72ce65426a4dff43..ee222b07ae25b59d0e5874a7fd83d8b977876e97 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4PerChannel.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4PerChannel.S index b595820fd735df210b71d1840137417a401db593..dc0e7723eb9837af5c4636ec99211a4537411d20 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4PerChannel.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8PostAlign4PerChannel.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Row.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Row.S index bd577ae4bf1f67063c816167bf1e092586ba32ae..4e5059dc69f113c5bd5d284276477bc0178fdd26 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Row.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/ConvDwInt8Row.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwFp32Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwFp32Center.S index 7b89a4cb725ebadefcdc32ce77b2827a67d82752..1eff8e9c8d63f0a283ece03621d03ac23206dda1 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwFp32Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwFp32Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Center.S index 0394607238110d6ebb6d7021c3dd3f4e279d5ca1..2a8d69022b5936a76116359233190f96c6fa1aea 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Post.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Post.S index 3c1da6eebba582e9fa637188ff387ad471537fb3..b5ea1cacf97628061834a603f8e01b10cf90e84b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Post.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/DeconvDwInt8Post.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt16to32_8x4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt16to32_8x4.S index 8616dcb6cc8239d836ceb834aa17f2457f55c307..6393e42b1bd7f14cb3b711049e27c9f4b33f531b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt16to32_8x4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt16to32_8x4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt8_2x4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt8_2x4.S index b77e3a2a889a5337c39b36a8488d8c01a309252b..de804bc7c785d5afbcf2997ea6155dde95a4971a 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt8_2x4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/IndirectGemmInt8_2x4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatVecMulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatVecMulFp32.S index fd58cbf6a65fb32a2216a5a00f1eeda234ec1bc6..54ba19e16129934c2cce3c78aa51a7cd1588968f 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatVecMulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatVecMulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32.S index 4cc2c96714c5e7d06dc24f86ee15f7023587bd5a..3bc36a7080cab1d60995435d3db010a6d2e499df 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt.S index 6c35e06bd222744bed4ac924590f6cd4747d1337..01cdd2d6b0f192008bb4c15a080d3510959ce43c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt12x4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt12x4.S index 84a22c5944d611dc73f001a49cebe1018bc3eabb..3254e867d0fc59330a24c985389ed55d28286ee6 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt12x4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulFp32Opt12x4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8.S index c5028394afe1d3cedd4041f94a269ad83705f845..12b9e3d4cd8d369f475e7f8ea93a58e0df2ba773 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8Opt.S index 896a32efa6af547c7416e1057aeb4785883477b3..1d1ceb940821178bfe05193dc558eb66b107243d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulInt8Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulWinogradFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulWinogradFp32.S index f254126bcb8235ee9e3f77acc4898848ba762a09..885797dd7faf839152613094a890fff6357cc798 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulWinogradFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/MatmulWinogradFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC4.S index a05d5f13f29cb25661936f0fdddd1a989366ef4a..d124d37dad22be91d2e810a0d3da5be7c88cf5a1 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC8.S index da3bb8797357da973af999346acd72935f282848..ab704b34fe255c7098de6b22af29aa649026888a 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PostFuncBiasReluC8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Peroc.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Peroc.S index 1433178faac47c61592d38abdf9d6d96b67d9baf..3ce34fd655eb392cec190a7d7983a6cb1529e710 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Peroc.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Peroc.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Pert.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Pert.S index 06833909bd2c13618cb6903c56920a6ee8acb105..11da2d2f6d4918b499c64cb00bc7a0ac51ad89c9 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Pert.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/PreSum4x16Int8Pert.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/TiledC4MatmulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/TiledC4MatmulFp32.S index 1ad0058909db181563399f3f3f9837fd83a59e5d..cb7235dea36d96066834b68c79f9f07427c8c1b2 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/TiledC4MatmulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/TiledC4MatmulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransLeft.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransLeft.S index 5737ca9370ee14800649fe181699f5a9b8cc586d..2d6e40302fe45b9a73283ed47a66a390489239eb 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransLeft.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransLeft.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransRight.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransRight.S index adf01f0ad5f1c7c3056478cad5e66784be79efea..6eb101b7b5426b3c23391c18c6cbe564a0e3a9a4 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransRight.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm32/WinogradTransRight.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/AdderFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/AdderFp32.S index 5c082959dc09eb474186b1ae16c80658e32b8ae1..66136f42577c9b5fe83fc2f28865e67faa19dfed 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/AdderFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/AdderFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Corner.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Corner.S index 522454977cdb0229299a3fd73cc2679e3c9de504..7df04fa4c427940be3a9f5feb3ebc6cf2309e93c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Corner.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Corner.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Horizontal.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Horizontal.S index d7263816c3c76d99a68f615b7c92ae5e5e6e42d3..3ed71a9a82364a7b57057130708eec47c1b7af4d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Horizontal.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Horizontal.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride1.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride1.S index 8c27890ec1358c7c05e6a5131852b3fb97d6052a..f04d9082ca6cf6c398bbfc72472e443cde0d1727 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride1.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride1.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride2.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride2.S index 67e36d572a06caa2d3eef98203106b8c86e35b05..0dd075dd704661d23132f3fb90cae8bbaeb6ef11 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride2.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Stride2.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Vertical.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Vertical.S index f3d7053dcbf91b266d57ec5e7916258329f6b404..4059663584aeb2a99055206acbb0ab74c92f6d24 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Vertical.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Fp32Vertical.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8.S index 4783bd8d3ff0090f4348eb23f6b0b7c131118803..e97b6498ceddb6f7d989a28187419a7dbe07d107 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Corner.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Corner.S index 3e497f8a4b738953aaf9663eeaf777185e225f29..b07ac01b79332f253f1ef4258012b64b0bb097e3 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Corner.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Corner.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Horizontal.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Horizontal.S index 1a93788c8176590466b46cf01bf54c5fb030b146..92eeffea020b081350d3eb554e486e70090be435 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Horizontal.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Horizontal.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Stride2.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Stride2.S index 73d9d0d3ca04d55cac94cb206ebd3ed302228163..cc1b3e9bbf3b9dcf7c0b04b3501fdc2938f62927 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Stride2.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Stride2.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Vertical.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Vertical.S index 51e8ae076f4d7c06a06db1633d5a57338a31e699..67151534dc6b7d093e050ae8be8f9d30edc712a2 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Vertical.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Int8Vertical.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Line.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Line.S index e19d3a0cef5e6fe779e719695854ccdcb1d8b83b..6157848ecc54776857fbd265a197dab3a02957ca 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Line.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDw3x3Line.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Border.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Border.S index 50416389a8063c2c3184ca6939570f6c127d92b6..356dea125f5d4306d138a9069aee99d51f8d6379 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Border.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Border.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Center.S index 3c04494b6c57baaf71557e8557525812b4c3858c..e9ddd65a12c5b0e39cb1a1ad393f7d3d88a38095 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect3x3.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect3x3.S index cb3d7eb02e4472286e829a7543823de2a39edb5e..34cc90374e707955b6c35c49e4a16ad1ead9128b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect3x3.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect3x3.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect5x5.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect5x5.S index bc9e9ba99f784391666ea3d256d69254b50411ac..a84e6c79303ad1abfbe34221857376d5344a433f 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect5x5.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Indirect5x5.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Row.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Row.S index 53d084641a48123887150edd059fc41e0a30f44e..417aa4ce9a149eaf7b5ca92bd3aa5c1ce6ad4aed 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Row.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwFp32Row.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Center.S index 4b9175469b1f0d577367ab953538ebbcd3842940..7ed94e6b44282de17cb83d8ae55838fc4ed7707e 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4.S index 1f626a50fc95e90f624779c75003b58525b6629a..9d3911f6a3c311127d02def968d8247835927a41 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4PerChannel.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4PerChannel.S index 750e302748af068afc922d58ed639da8a11856ae..bad15a971413b2114061a7bd33295d6d15829504 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4PerChannel.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8PostAlign4PerChannel.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Row.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Row.S index 59218f8af92664379d8e0ca0051278acff5fd333..a69f35ed2a56be67a50d497c99b0d587e6aceb17 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Row.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvDwInt8Row.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvFp32Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvFp32Center.S index a73f6589f17e6a751cce1017a9f0f5f150a37801..2cc456f6ec1efdf2d09b30a563ea10eacee8fb76 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvFp32Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/ConvFp32Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Border.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Border.S index 29bc336834731c2049a57b211ae367115f8fda88..ead01b8ef9f0069cb95939fdf7d5fb745af3f575 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Border.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Border.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Center.S index d99a4c9bacecbe0d1206fb12bb6b24f6c83635b5..e6875bb1e66cf89c6fef42a3fe782232eff70f72 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwFp32Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Center.S index 3b48603a7e7fe28ba58513f2fc2abe303fa65032..aaf210f0b1755e856caee74e397be1ed2a856070 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Post.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Post.S index e3da39ef0a520e6f47d76196a73a009abf700247..f9909a81f3d6ea082fb3be11042b8d7f207645b1 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Post.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/DeconvDwInt8Post.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/IndirectGemmInt16to32_8x4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/IndirectGemmInt16to32_8x4.S index f4a6ed58e32e4995eea4d7ae9bb549937c14d5e1..8ca4b733678ed0478090f0785ab07a5f1419b9f1 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/IndirectGemmInt16to32_8x4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/IndirectGemmInt16to32_8x4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatVecMulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatVecMulFp32.S index b280febb8345ebf8bf6114098220cd9079bc574c..71a7f0f11aa8fc439dd4cb1f353f8349da3508f6 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatVecMulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatVecMulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32.S index 36029c35caa460be283c6d9939fc214c69fb1030..67d20dccdc7e20d1cc696f5f7ce62ca1c4c18c36 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32Opt.S index 999ae943bbb56e978d380e4290eb6b09a831d084..45b1c8963f0a47f77522b0476067bb341223215e 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow12.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow12.S index 15d9b14ecb335a0e56ca85e0a5b6c2ceef992485..c9151a99581331dc1e262af417f77bafef966b54 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow12.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow12.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow4.S index 78242eb717d183890e6766cee2af22c13aa5ceaa..0cc49fb94ab2ce359395b0ea32e777b00b8dbe91 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow8.S index b262455782da52a31137f6e812dac601de38cc43..a9e42a547f9a1075ea2dfd2d6e7f9018ce2a4d1c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulFp32OptRow8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8.S index 8e9de330a09b7d3f9aa8070b705313e1e32beecd..a0e94c5ffd3dfbd5fa8e35c2654bde8a7f6550e7 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8Opt.S index f5ecb8e8ac9098b4687d2112bf21bc3246cc0ee5..64be8a14f31274cc8f5d25e28d81a78f139f135d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulInt8Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulR4Int8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulR4Int8.S index fd86c5500aaaa66b5d9432f5992f1415275756b3..fe5207ad25c0d1fdcd6a4755268572e2fa1cd1d7 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulR4Int8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulR4Int8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulWinogradFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulWinogradFp32.S index 532fef0e9443efa8af7723c76336b70526546a88..0b814ce429a4eb1968cd2db3fb5dcc33c7f565e1 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulWinogradFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/MatmulWinogradFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC4.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC4.S index af381301501ed8b9434e06e9cf46612617fbd132..8f51cc89c0f51647b37105997ec86df11d3ae4cb 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC4.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC4.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC8.S index 8da24fed4cb870540446a5bfe16ba7981cac99d0..5355d3020df0a1825c0d0fd475c6810a1d28fcee 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncBiasReluC8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncInt8C4Neon64.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncInt8C4Neon64.S index 70811c0c3943d0615fdd528447f08e675fd50c36..dba8895ee3e2058bfec5e294b10229069713e4ec 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncInt8C4Neon64.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PostFuncInt8C4Neon64.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S index 427a3f137286e61601372b2f7113a5d52d7e5b9c..e53b408e3580090d7dc04a2aa2d15f028c77a350 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Pert.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Pert.S index 7fb42396ecdcd51746dbd4881748659b5b404090..1590b007407fae61142bb98d005476eac8e7a1f4 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Pert.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/PreSum4x16Int8Pert.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/SPMM8x8Fp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/SPMM8x8Fp32.S index 7ddcfb94afea8ba4368f53fda7849454a8ecda04..cfa9bdf82285928355f2651a7f1557ec3a008d21 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/SPMM8x8Fp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/SPMM8x8Fp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/TiledC4MatmulFp32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/TiledC4MatmulFp32.S index 1e49e0d0adbb08fa03e614d9cddb6bb7d8013923..5987e68a402e11e053e07de22afc0af1717a9b03 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/TiledC4MatmulFp32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/TiledC4MatmulFp32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransLeft.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransLeft.S index 0f8927d3be70837ce49871bed95bf2963b428fc1..4a26b2518d1df94da643e58f60e6e0a94b66d564 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransLeft.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransLeft.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransRight.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransRight.S index d29ef52a087d282121189ec8f2ccd6c4ab29bb3f..931fa016df3a12d53889ae518ec27426bf57423c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransRight.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm64/WinogradTransRight.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float16Tofloat32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float16Tofloat32.S index 243476ba93965d3828f0aa65d406eecf93f25c17..c65523b02a1e4034e13475130ae4a08280106b02 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float16Tofloat32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float16Tofloat32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float32ToFloat16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float32ToFloat16.S index 7f1ef037e4179a6d8d00328594d62753fda1a854..d28a6f64291e3310198f6fd122e4eb1893d3f2eb 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float32ToFloat16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Float32ToFloat16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/MatVecMulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/MatVecMulFp16.S index 936827dedb3067f33aa9e8621407c809156c6632..42bf1d7de7415e4576bb364b0dfa10bda91da915 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/MatVecMulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/MatVecMulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Matmul12x8Fp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Matmul12x8Fp16.S index 11733db5f5425b77bffdb5e98c373e9097307cd1..1e185bc2f85db11e51763ce26320727645e1cb4e 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Matmul12x8Fp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/Matmul12x8Fp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/TiledC4MatmulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/TiledC4MatmulFp16.S index 726f87c9024cbef6396cad2efc5a6ce0ca9435dd..c7c61b4545add7db0369b7ce0224a8ebd3f4d643 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/TiledC4MatmulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/TiledC4MatmulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransLeft.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransLeft.S index 364f4ce646148b643283f9fda73f313aa2e8459d..5c87be2845624875355dd7703bae879296aa7461 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransLeft.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransLeft.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransRight.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransRight.S index 5ad8dee3b72a8a54ada7d162797d99433ab4bcc4..ec04dc88e01b4da10516b96bb36253114c63814c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransRight.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/arm82_aarch32_fp16/WinogradTransRight.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM32 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32Avx3x3.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32Avx3x3.S index 198be0634e68e0bf2fbdb3abb9d22e56fd8f9072..1eb76eb4f8232e6033e4c23b8a5db8d54dce5279 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32Avx3x3.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32Avx3x3.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_AVX #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32BorderAvx.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32BorderAvx.S index 605b5c84ea1547757210d19e7ad1aaa6d28aa8c1..c384133e99f33d1a496b9f71eed06f0aba5346fd 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32BorderAvx.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32BorderAvx.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_AVX #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32RowAvx.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32RowAvx.S index 290dbd01687fccfa76e229d362649754eebe19ef..a59b1c2252f64357d1059c460d196c8f4c6a7932 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32RowAvx.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/ConvDwFp32RowAvx.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_AVX #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/MatmulAvx.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/MatmulAvx.S index 56426ac486d3a00e3b557ac1025b3cd4cc876c56..6ce91087baf3aa7f16de5742ec5e7c15e1acf57b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/MatmulAvx.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/avx/MatmulAvx.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_AVX #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Border.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Border.S index 0491ad0a67fe176d7ca89c5c5037c6c1fcaf3ad6..3dff798806e98f5d6f87a68e4381c2011978463c 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Border.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Border.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Center.S index f8dca404b63107cfba7ba552ca54efa0dae420b5..221a16098fa3ee47a3538bbf3c80ee383c338b80 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Row.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Row.S index 355257dd8e9e62ff4f15a6a2074d43a62a0169ec..e8bc38ee2c9e9524725afe0ff10bfc00d647e9c2 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Row.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/ConvDwFp16Row.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Border.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Border.S index f48401e4cc7fba409ab9538de97f762cfbe4a237..a79410abd34bb712a130128ba4d0937a3feb537d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Border.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Border.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Center.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Center.S index 4348c478337837a6f7d51adb101526baec071a6d..1266b160e940a86ce3c43d06a4ddfe970d89a240 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Center.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/DeconvDwFp16Center.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float16ToFloat32.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float16ToFloat32.S index d75b874a40163cd22826390f326329ad4c2428ac..a0cb05cba0348589c956671fe8bf1ab2cc30d0d7 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float16ToFloat32.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float16ToFloat32.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float32ToFloat16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float32ToFloat16.S index 536e28ebafd700de58af4640f27a596fcbb81644..4066d33725a9a0b436500421f294c60b4e1c97a5 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float32ToFloat16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Float32ToFloat16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatVecMulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatVecMulFp16.S index e72b4e1ec1acd20cb00d7b6027988772d5419082..80a55b75da8120c7de5ccaa420e46ec9b6dac065 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatVecMulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatVecMulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Matmul12X16Fp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Matmul12X16Fp16.S index 79c6edc18bec10755ab3269cfcb31bf3af2c4ed9..a0e28b74a0f35a2f1df8e9a682581eb9a1439cea 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Matmul12X16Fp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/Matmul12X16Fp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulBaseFp16Neon.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulBaseFp16Neon.S index dbed05e2c4214c8a345cd1d1744b1d0a880d4d55..7177e86fa8bc8a9df3518b8037534a6459bbcd7b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulBaseFp16Neon.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulBaseFp16Neon.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16.S index a1f02286a58b6d32f570e9661e98d9fa802eb8ad..6bb93f99df6d4c4f837eec668b3d76d5cddbc0da 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16Opt.S index 4c3db108ce3bddafbf5b4cd29fe997457cc93b21..4a111066b48914e2575ff3cdb32f9c0a326cb86d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulFp16Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulWinogradFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulWinogradFp16.S index c119a942ba67ec84bc842c2d7ef03303b4680339..9ee3c4d5f27bb45178f759786182d09d1aff9eef 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulWinogradFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/MatmulWinogradFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC4Fp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC4Fp16.S index 5815438e3566439409ea18ebd76dc65245e3d0f8..3a72b877ab4984c95e8bf312d2b4b22375633e71 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC4Fp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC4Fp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC8Fp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC8Fp16.S index fe6f5e40113cc86287829ba004ceb8ac87e32cfe..367b42705c1e1016162a63e14befedd451f0ea1a 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC8Fp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/PostFuncBiasReluC8Fp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/TiledC4MatmulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/TiledC4MatmulFp16.S index 6e544137060bec28b13fac9547ff12a056c1c20c..d7570d184e4b44bfb3b6353fc1584a2a0dd87019 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/TiledC4MatmulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/TiledC4MatmulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/VecMatmulFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/VecMatmulFp16.S index f735a50de9e24271d592ee342b4539ac3ba40fa3..d11dd472669b1cf52e247668bae52953053b0709 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/VecMatmulFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/VecMatmulFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransLeftFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransLeftFp16.S index 5a34daa10980cfbe48586b2a4a6efca08987e72a..1970c16a3da67bab5e2f10e01576b9e3a3174fbd 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransLeftFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransLeftFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransRightFp16.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransRightFp16.S index 3d2ef04534bda82a53c74fed762c23979b64b85d..c575f504fafc43d31b22db6b995829015b783abe 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransRightFp16.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/fp16/WinogradTransRightFp16.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8.S index 8bfaa90a5b1d6232321249cb3a27b06a39b0fe42..e8e2d5039408ca13047ac993d18359e2ea85b91d 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8Opt.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8Opt.S index 36546f26853c7888cf7e5a375ac71e85f1b2f283..ef0e11d6a7029e1898c056953cf201f785fe6978 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8Opt.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulDpInt8Opt.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulOptR4Int8.S b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulOptR4Int8.S index 107df32493ac60f05fe164568d056bc6d662d5e6..287d6b4aa624c2c6f143892df5104f6596879ca2 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulOptR4Int8.S +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/assembly/opt/MatmulOptR4Int8.S @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef ENABLE_ARM64 #include "nnacl/assembly_global.h" .text diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/reshape_cpu_kernel.h b/mindspore/ccsrc/backend/kernel_compiler/cpu/reshape_cpu_kernel.h index 805f1de6117e138ba6a52650032ac689f02f6d1a..6f0bdaa5843d40f7c71cd98f7b0e270cb2a9f938 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/reshape_cpu_kernel.h +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/reshape_cpu_kernel.h @@ -1,5 +1,5 @@ /** - * Copyright 2021-2021 Huawei Technologies Co., Ltd + * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/core/ops/accumulate_n_v2.cc b/mindspore/core/ops/accumulate_n_v2.cc index 77ec8f2a7f52839371f1453b62b063763e1156c8..80a5fb586a08b97c3eddfbdd5d7e078c9c557714 100644 --- a/mindspore/core/ops/accumulate_n_v2.cc +++ b/mindspore/core/ops/accumulate_n_v2.cc @@ -1,4 +1,4 @@ -/* copyright 2021 Huawei Technologies Co., Ltd +/* Copyright 2021 Huawei Technologies Co., Ltd * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/mindspore/core/ops/accumulate_n_v2.h b/mindspore/core/ops/accumulate_n_v2.h index e69eca1ffb9975557cafa3624d16e07b69467519..9bf5999fd411f99ddd47b330ebef4f4adad526a8 100644 --- a/mindspore/core/ops/accumulate_n_v2.h +++ b/mindspore/core/ops/accumulate_n_v2.h @@ -1,4 +1,4 @@ -/* copyright 2021 Huawei Technologies Co., Ltd +/* Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/lite/micro/example/mnist_stm32f746/Core/Src/main.c b/mindspore/lite/micro/example/mnist_stm32f746/Core/Src/main.c index 3db30a33ab69a0cc6ecbf88a368b7ba87eb50294..6aa072975338271cc090d52e024d9e2c578bb4b3 100755 --- a/mindspore/lite/micro/example/mnist_stm32f746/Core/Src/main.c +++ b/mindspore/lite/micro/example/mnist_stm32f746/Core/Src/main.c @@ -1,3 +1,18 @@ +/** + * Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include "include/errorcode.h" #include "include/lite_session.h" #include "include/ms_tensor.h" diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/activation.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/activation.cl index ca1d525eb62fa5841916710c13b0c2b2a2ddd42f..0050825a0607cca2abef346ad4107b99610b0c24 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/activation.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/activation.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/argminmax.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/argminmax.cl index b124acade6a86248ff5673ec0138d0474eb6932c..c2cc139fecd88d64b9fb66c24cc7ba3b888abd2e 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/argminmax.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/argminmax.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define swap(a, b, c) \ c = a; \ diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/arithmetic.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/arithmetic.cl index 1ffc97262dd0c20743ca77a37911d404bcdb5126..3f215b0e77ded7b1e18058fc23b1c0c10a26f9ff 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/arithmetic.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/arithmetic.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define divide_no_check(a, b) (a / b) __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/arithmeticself.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/arithmeticself.cl index 6a167fab32891c037dbca5c84bee2678d441acfa..921d1dc77d3c14566fa533f59ef829804a5bdf90 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/arithmeticself.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/arithmeticself.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/batch_to_space_nd.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/batch_to_space_nd.cl index 8b6b291d9282a4a6dae54f96e285f59b8f4eec95..0d5e8090c986345be2f6da8ba9d1fed6b0af7b75 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/batch_to_space_nd.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/batch_to_space_nd.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; __kernel void batch_to_space_nd_NHWC4(__read_only image2d_t src_data, __write_only image2d_t dst_data, int4 src_size, diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/batchnorm.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/batchnorm.cl index 433254a99f172a923b28f60828a55b10c349feb1..c597bc3f30712e82c4985130265e887e0c218c72 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/batchnorm.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/batchnorm.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define INT4 int4 #define INT2 int2 diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/cast.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/cast.cl index 171aeea6315df6aadd495cc16a1b5d48e75d0ccd..6d90958002f62a5e9ede3a95f3b21cbd8fcc2f5d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/cast.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/cast.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/concat.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/concat.cl index cf561298b0472ffd61fd84647e2ca06cddacb35f..a357e944ad69647835be79f02b56128333de912f 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/concat.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/concat.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d.cl index 6f94c99ce6c2e1f81bedb4e5a44abae38a82bf74..101812b83abbee442eff1f9a22e9a3be3b94db0a 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d_transpose.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d_transpose.cl index aec35e711d9da72483a77d3cffdda19411d32dca..ae67af6bf669642f007e441ee51bc3b186ebbdf7 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d_transpose.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/conv2d_transpose.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/depthwise_conv2d.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/depthwise_conv2d.cl index a3935b79e02471087389e0ee79eca624810ee63b..4ed1c3b0e8db5f73625dbcf95c44a1ebf908af1d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/depthwise_conv2d.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/depthwise_conv2d.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; __kernel void DepthwiseConv2d_IMG_NHWC4(__write_only image2d_t dst_data, __read_only image2d_t src_data, diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/fullconnection.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/fullconnection.cl index 18c0f5755f3031ef042679a17a7b07ef797a7dea..66113dc121c2360d7f131acdede9f1ac20c9d78b 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/fullconnection.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/fullconnection.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/gather.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/gather.cl index 6c17264afe5a7e41b604c40f4d6c3e8d433fbead..7b6c0199c1da3852c449f011b51706bf13750727 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/gather.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/gather.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/gl_to_cl.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/gl_to_cl.cl index f8884679920bb9cb6887a3f21cd31c5df1ea3c37..79d2d0261c894acf23202d62de148de8b813581d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/gl_to_cl.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/gl_to_cl.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; __kernel void GLTexture2D_to_IMG(__read_only image2d_t imageSrc, __write_only image2d_t imageDst) { diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/int8/arithmetic.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/int8/arithmetic.cl index 5e712c9ddc71c8a76ee78b7e2a9dacc8d79a0a64..b10260f4f2de5c2ac7c645244021ea8be5e7a643 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/int8/arithmetic.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/int8/arithmetic.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; __kernel void ElementAddInt8(__read_only image2d_t input_a, __read_only image2d_t input_b, diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/layer_norm.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/layer_norm.cl index 8b5c96f3ef2f53a098cc33ee8994db9d56d19f78..dbd4757511965da88de147d764b687afac89fe83 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/layer_norm.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/layer_norm.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/matmul.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/matmul.cl index dbe549187e09385cb70259a12b8a9b2d45c4e3d0..538ae5174f723aa56b27d49c2df28dbfb7b008e2 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/matmul.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/matmul.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/one_hot.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/one_hot.cl index 2defe94368150c43aa656e3815eed93975bab155..30e11b4e3ce1601ec17f9cdf7a7e410f3e079ef4 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/one_hot.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/one_hot.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/pad.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/pad.cl index 7eba6bf70d5c8af56b3982f00e7b0e3c317ee245..f138a135d9cd95eee67eea281f58bbdcdcdf41fd 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/pad.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/pad.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/pooling2d.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/pooling2d.cl index bbc8a9852f69d6c5a350eecf69fad09714345e8e..23ca2e13fc683d14c1ae4f5b987f945c5168020f 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/pooling2d.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/pooling2d.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/power.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/power.cl index 44691bcfd416b878576145f28b3b64a8bf1f19a1..ac19691841a75c1f0b901a1a93f0fe2709e3de61 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/power.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/power.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/prelu.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/prelu.cl index 74ab460ec3abc282379307c60ace82ed0d669d6b..f0f0b3c3744e0e9fc0798be4b911b2cd32b86c33 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/prelu.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/prelu.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; #define NHWC4 2 diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/reduce.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/reduce.cl index cf1656b1faf8689d41e6945c11641902255ed05e..876e256c788a5519e8152f29eae24e76afa9d3a1 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/reduce.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/reduce.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/reshape.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/reshape.cl index 4543fda15f531e4c5985ecd8753f447bfc044de8..cae09937f64fd5928594262b5534757685181f1d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/reshape.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/reshape.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/resize.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/resize.cl index b1ad1a08a5ddffb2b39917ca669d3693f284fb57..2b6e3597f48760378d87db33b044ec560eebacb7 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/resize.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/resize.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/scale.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/scale.cl index 6fbdc4ff38293672bca6135dd90eac904068a980..25f3276d5d6329871e42ad8a407aaa2c555d108a 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/scale.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/scale.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/softmax.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/softmax.cl index ecae99929f7969e45225471983ea0470f8dac545..b72f11d5ac3237a9bcabc513b27394e4229df92b 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/softmax.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/softmax.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_batch_nd.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_batch_nd.cl index d07c26f700b66a0ec69698bbf915e4faabc6b151..3b6a3ecb9caeb25c85074b207dc2839e01bb9051 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_batch_nd.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_batch_nd.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; __kernel void space_to_batch_nd_NHWC4(__read_only image2d_t src_data, __write_only image2d_t dst_data, int4 src_size, diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_depth.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_depth.cl index 2b7b1014becf8f8ea08aed7395fb4825df1aac5e..c78da45d13e4e76269e558015310a15db066803f 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_depth.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/space_to_depth.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/sparse_to_dense.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/sparse_to_dense.cl index 1eafdf5b315914c3e70e9cb2cca3963e0a8832e1..807ff41373ead763b0f502f008054eb697b0ce19 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/sparse_to_dense.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/sparse_to_dense.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/split.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/split.cl index 5bd65f06175995a4b387992b51fbc9430ef8906a..5e9773223067ee51d0024457a750867b4bdf7527 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/split.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/split.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/stack.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/stack.cl index 534428096980c7206c91e1f489f1c56da6cec5ae..071ed39c9e47fbb5f151f3ffe6a092df2afbf49e 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/stack.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/stack.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define INT4 int4 #define C4NUM 4 diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/strassen.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/strassen.cl index 744dc480c0cfbbe50135e11a6cc7efc57b091160..b5732569cc2addd7188bc423846fc77c1400eeb7 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/strassen.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/strassen.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define C4NUM 4 #define UP_DIV(x, y) (((x) + (y) - (1)) / (y)) diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/strided_slice.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/strided_slice.cl index b1f0c24aaebdcc1554c3c3792262b02c639ec9e3..50145f7143fee4137ffe62c952fe083efa346b02 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/strided_slice.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/strided_slice.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_none = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/to_format.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/to_format.cl index 3b7e99833bf23defa7d66c8a1bff1b4b42bd5620..8778b00f66ce79c686c3d5199f614151843fcfb1 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/to_format.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/to_format.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/transpose.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/transpose.cl index 125b31250bc417abb06327dea69017dd6f510800..1616ce407023f60ff1832377024de96ec4aaffc1 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/transpose.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/transpose.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifdef cl_khr_fp16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable #endif diff --git a/mindspore/lite/src/runtime/kernel/opencl/cl/winograd.cl b/mindspore/lite/src/runtime/kernel/opencl/cl/winograd.cl index e942e78d92345cacc487d65f769a36ce71936d0e..525878a558edb43589f0866bdf061fbddd808bae 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/cl/winograd.cl +++ b/mindspore/lite/src/runtime/kernel/opencl/cl/winograd.cl @@ -1,3 +1,17 @@ +/* Copyright 2021 Huawei Technologies Co., Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma OPENCL EXTENSION cl_khr_fp16 : enable __constant sampler_t smp_zero = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST; diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py index 2778144e3d7f260fc920683df2646d137dfea079..132b7ccba868bb774180b80edabc531facb9a304 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py @@ -1,22 +1,19 @@ -#!/usr/bin/env python -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -_basic -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""_basic""" from __future__ import absolute_import import te.platform.cce_params as cce diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py index 0cc7ba6d1be0d980b5c08ba977fec62830f64ffe..a90dcfa9c827d6e8d8f63cf4f845a201b91c0ce7 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py @@ -1,21 +1,19 @@ -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -matmul -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""CusMatMulCubeDenseLeft""" from __future__ import absolute_import from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType from mindspore.ops._op_impl._custom_op._basic import _shape_check, _get_bias, _get_input_shape diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py index f2c5937814a716a235a94e9a020ce772fdf7274d..113694e34dd4b481a69a3b518a3b20125159eaa7 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py @@ -1,22 +1,19 @@ -#!/usr/bin/env python -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -matmul -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""CusMatMulCubeDenseRight""" from __future__ import absolute_import from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py index 5fbdc3420d66b23695666a17b7e40488818338db..347ee7246a407725579cf9c92aa421050b7357c5 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py @@ -1,21 +1,19 @@ -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -matmul -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""CusMatMulCubeFraczLeftCast""" from __future__ import absolute_import from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType from mindspore.ops._op_impl._custom_op._basic import _shape_check, _get_bias, _get_input_shape diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py index 3910ede5d967e6f37c99453e14f5e0573da2d14b..89893a4c2c200083e61bd632eb52c1d61620c708 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py @@ -1,22 +1,19 @@ -#!/usr/bin/env python -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -matmul -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""CusMatMulCubeFraczRightMul""" from __future__ import absolute_import from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType diff --git a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py index 1215644b124c571630977e7eabcf9bba2af4520f..4e1ece14a25b7ce38e91c473305fbaea9c609a07 100644 --- a/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py +++ b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py @@ -1,22 +1,19 @@ -#!/usr/bin/env python -# -*- coding:utf-8 -*- -""" -copyright 2020 Huawei Technologies Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License == distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -matmul -""" +# Copyright 2020 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +"""CusMatMulCube""" from __future__ import absolute_import from impl.matmul_vector import matmul_vector_cce from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType diff --git a/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py index d8e1352048777c84554a39b195c9ac75f64e4119..1b341998634e04cce166c2a5a1eba0415300057a 100644 --- a/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py +++ b/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py @@ -1,4 +1,4 @@ -# copyright 2021 Huawei Technologies Co., Ltd +# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mindspore/python/mindspore/profiler/parser/step_trace_parser.py b/mindspore/python/mindspore/profiler/parser/step_trace_parser.py index a56d70877ab7a1934e9edaaebb0fa9ffa3f522b4..737e526cacda696a06f84e9a3e7acb0ad12f32de 100644 --- a/mindspore/python/mindspore/profiler/parser/step_trace_parser.py +++ b/mindspore/python/mindspore/profiler/parser/step_trace_parser.py @@ -1,4 +1,4 @@ -# Copyright 2020-201 Huawei Technologies Co., Ltd +# Copyright 2020-2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.