diff --git a/dnn/scripts/Makefile b/dnn/scripts/Makefile index a348e48f..91458b20 100644 --- a/dnn/scripts/Makefile +++ b/dnn/scripts/Makefile @@ -1,11 +1,10 @@ -PARAM_DEFS := ../include/megdnn/opr_param_defs.h \ - ../include/megdnn/opr_param_json.h \ - ../src/common/opr_param_defs_enumv.cuh \ - ../src/common/elemwise/each_mode.inl +PARAM_DEFS := ../src/common/elemwise/each_mode.inl ELEMWISE_IMPL := ../src/cuda/cond_take/kimpl \ ../src/cuda/elemwise/special_kimpl \ ../src/cuda/elemwise/kimpl \ + ../src/rocm/elemwise/special_kimpl \ + ../src/rocm/elemwise/kimpl \ ../src/naive/elemwise/kimpl \ ../src/cuda/elemwise_multi_type/kimpl @@ -22,10 +21,14 @@ all: ${PARAM_DEFS} ${ELEMWISE_IMPL} ${CUDA_CONV_IMPL} ../src/cuda/elemwise/special_kimpl: gen_elemwise_special_kern_impls.py ./$^ --type cuda $@ +../src/rocm/elemwise/special_kimpl: gen_elemwise_special_kern_impls.py + ./$^ --type hip $@ ../src/cuda/elemwise/kimpl: gen_elemwise_kern_impls.py ./$^ --type cuda $@ +../src/rocm/elemwise/kimpl: gen_elemwise_kern_impls.py + ./$^ --type hip $@ ../src/%/elemwise/kimpl: gen_elemwise_kern_impls.py ./$^ $@ diff --git a/dnn/src/common/elemwise/each_mode.inl b/dnn/src/common/elemwise/each_mode.inl index a9501afa..2a6424d5 100644 --- a/dnn/src/common/elemwise/each_mode.inl +++ b/dnn/src/common/elemwise/each_mode.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/elemwise/each_mode.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_each_mode.py #define MEGDNN_FOREACH_ELEMWISE_MODE_UNARY_BOOL(cb) \ MEGDNN_ELEMWISE_MODE_ENABLE(NOT, cb) \ @@ -95,6 +85,8 @@ MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) \ MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) \ +#define MEGDNN_FOREACH_ELEMWISE_MODE_TERNARY_BOOL(cb) \ + #define MEGDNN_FOREACH_ELEMWISE_MODE_TERNARY_FLOAT(cb) \ MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) \ MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) \ diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_hswish.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_hswish.cu index a8fc2574..5e3ba1ac 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_hswish.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_id.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_id.cu index e1f8ab0c..5413afa3 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_id.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_relu.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_relu.cu index 57b72571..bfd64cad 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_relu.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_hswish.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_hswish.cu index c30bc345..9b4e34f8 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_hswish.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_id.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_id.cu index 2aee0207..c14e0e96 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_id.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_relu.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_relu.cu index 6ced3ae9..43caacc9 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_relu.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_gemm_ncdiv4hw4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_hswish.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_hswish.cu index 6207fd63..74b7dd7c 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_hswish.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_id.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_id.cu index 026640fa..9cedc650 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_id.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_relu.cu b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_relu.cu index c5dfd679..9de1a406 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_relu.cu +++ b/dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/kimpl/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_batch_cuda_conv_bias_kern_impls.py #include "../batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_bfloat16.cu b/dnn/src/cuda/cond_take/kimpl/dt_bfloat16.cu index 06161eaa..ccaff9fe 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_bfloat16.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_bool.cu b/dnn/src/cuda/cond_take/kimpl/dt_bool.cu index 524ccc77..7afa17b7 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_bool.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_float16.cu b/dnn/src/cuda/cond_take/kimpl/dt_float16.cu index d8da9cab..d9dddc97 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_float16.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_float32.cu b/dnn/src/cuda/cond_take/kimpl/dt_float32.cu index 991e650d..d72c1e3c 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_float32.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_int16.cu b/dnn/src/cuda/cond_take/kimpl/dt_int16.cu index 8836c0e3..f06bc7e7 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_int16.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_int32.cu b/dnn/src/cuda/cond_take/kimpl/dt_int32.cu index 86f58156..c86de346 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_int32.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_int8.cu b/dnn/src/cuda/cond_take/kimpl/dt_int8.cu index 8e0d6ad5..f78a1f37 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_int8.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/cond_take/kimpl/dt_uint8.cu b/dnn/src/cuda/cond_take/kimpl/dt_uint8.cu index 08e3ff8c..4bdd6e7b 100644 --- a/dnn/src/cuda/cond_take/kimpl/dt_uint8.cu +++ b/dnn/src/cuda/cond_take/kimpl/dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kimpl/dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cond_take_kern_impls.py #include "../kern.inl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_hswish.cu index 7b47bcd2..ede57e2a 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_id.cu index fc560d5a..af52cbda 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_relu.cu index db642290..b9a31403 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_hswish.cu index 068eabcc..12cc85e9 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_id.cu index 78501106..c833f90a 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_relu.cu index 145b1995..4bffef5a 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_hswish.cu index f5f24f4c..5bf4f141 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_id.cu index b1ecb15c..a606532c 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_relu.cu index 73edc196..8b77a855 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_hswish.cu index 5b2d22c0..3bc09c2f 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_id.cu index 66999930..37c49d07 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_relu.cu index 63d0b930..e27ac734 100644 --- a/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/kimpl/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_hswish.cu index e6844030..3120bc1f 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_id.cu index 34e323ff..83e57e3e 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_relu.cu index 4a51b905..6a9f1bb9 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu index f2e3b92f..6b82068a 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_id.cu index a0f223ee..245638d4 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu index 72b3ef0e..19cc9b99 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu index 03d436d1..af021e23 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_id.cu index c6e6d1a5..b65517ff 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_relu.cu index cb4f123c..316cb9e8 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_hswish.cu index 8202b911..8e5e3305 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_id.cu index 278f7fc1..30629aa7 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_relu.cu index 1e75ac20..e556a537 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu index b3c64acb..f6f2f92b 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_id.cu index c4dd83d8..76ca26cb 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu index bef500ad..bfb3f746 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu index f8387bd4..d1534545 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_id.cu index e60e94e9..0d5b2961 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_relu.cu index 713a0a24..d6346834 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_hswish.cu index 1cd8d413..74adeec8 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_id.cu index 66ff72df..394b986f 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_relu.cu index 9c22fea6..c57eb845 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu index 4dff4381..a6ff09c2 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_id.cu index d9ff06e4..b86b7065 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu index d495b6e9..742b3291 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu index a601e2b6..7c9500fe 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_hswish.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_id.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_id.cu index c17d2df7..c31552e1 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_id.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_id.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_id.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_relu.cu b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_relu.cu index bb46408c..6fdaad98 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_relu.cu +++ b/dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_relu.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/kimpl/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width_per_chan_relu.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_cuda_conv_bias_kern_impls.py #include "../conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl" diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cu index 0bd78ac3..c6a0644e 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float16.cu index 0a513760..d4f8ac33 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float32.cu index 7db553ea..4b8c7696 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int16.cu index 0e60b504..fe2bb209 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int32.cu index 40ccff8b..062685a7 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int8.cu index c93c0088..bd883a99 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_uint8.cu index 37fbdd33..185c733b 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_GRAD_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_bfloat16.cu index a34d7947..0cfb7e0e 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_float16.cu index b9a9f047..665208ea 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_float32.cu index 85be9fd7..6bd3fd01 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int16.cu index a0eae25f..6d0a1d42 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int32.cu index 460e9e1c..b7468e36 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int8.cu index 0d3027db..9af9fc33 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ABS_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/ABS_dt_uint8.cu index ed0f31e0..c197ee12 100644 --- a/dnn/src/cuda/elemwise/kimpl/ABS_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ABS_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ABS_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_bfloat16.cu index b7717ef7..912d2a62 100644 --- a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ACOS_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float16.cu index 6d818855..9a072a73 100644 --- a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ACOS_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float32.cu index ac4e6680..c8382465 100644 --- a/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ACOS_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ACOS_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_bfloat16.cu index 2b6d9c29..11892b40 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_float16.cu index e87dc72a..d1097cee 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_float32.cu index 90754ef2..04e414d8 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int16.cu index 3e45b924..2692639b 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int32.cu index 1f5ac62a..2a8b63ab 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int8.cu index eb938d44..a9ff809f 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ADD_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/ADD_dt_uint8.cu index 5b212f07..fd4c23d0 100644 --- a/dnn/src/cuda/elemwise/kimpl/ADD_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/ADD_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ADD_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/AND_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/AND_dt_bool.cu index 0f952baf..7ca91d7a 100644 --- a/dnn/src/cuda/elemwise/kimpl/AND_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/AND_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/AND_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(AND, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_bfloat16.cu index 613a14c8..011994da 100644 --- a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ASIN_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float16.cu index 138560c8..20b2a7c8 100644 --- a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ASIN_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float32.cu index 3eadd37a..a7852fa9 100644 --- a/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ASIN_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ASIN_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_bfloat16.cu index bd707b77..84ece010 100644 --- a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ATAN2_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float16.cu index 12cda851..e30a5931 100644 --- a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float32.cu index df5056b3..7024dbaa 100644 --- a/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ATAN2_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_bfloat16.cu index 63a9e634..9b4995bc 100644 --- a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/CEIL_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float16.cu index ae7e31e7..e5051bb2 100644 --- a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/CEIL_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float32.cu index b5230797..c3f91b79 100644 --- a/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/CEIL_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/CEIL_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cu index 866c5eb2..e2aafdd6 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cu index a751ce77..6025e7e0 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cu index d07c0efd..90d61a5f 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cu index 8033dd16..81bd6fe1 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cu index 4fc2812b..63d9211a 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cu index c60fec87..cb8b92d3 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cu index dd8a35f5..fd1b9437 100644 --- a/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/COS_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/COS_dt_bfloat16.cu index ccb477e0..467b85a0 100644 --- a/dnn/src/cuda/elemwise/kimpl/COS_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/COS_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COS_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/COS_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/COS_dt_float16.cu index 72f5d191..c3b061ed 100644 --- a/dnn/src/cuda/elemwise/kimpl/COS_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/COS_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COS_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/COS_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/COS_dt_float32.cu index 4fba9c4f..89b9f12c 100644 --- a/dnn/src/cuda/elemwise/kimpl/COS_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/COS_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/COS_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_bfloat16.cu index e2eb5c93..66caac75 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_bool.cu index e52069cc..437b4d84 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_float16.cu index 80937f98..2492fcb8 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_float32.cu index 63420f99..3dbdaf9d 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int16.cu index b4c60ed6..1887146f 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int32.cu index d8bc0868..2518d6ff 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int8.cu index d73fad6f..d0ca968f 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/EQ_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/EQ_dt_uint8.cu index 22787aa4..6c62949c 100644 --- a/dnn/src/cuda/elemwise/kimpl/EQ_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/EQ_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EQ_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_bfloat16.cu index c236e3d9..66899960 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float16.cu index 30084e2a..98315e0e 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float32.cu index a62d4d45..e337f0c6 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFCINV_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_bfloat16.cu index 2cf4591d..05218cf3 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFC_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float16.cu index 6c8caf11..2f0894cc 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFC_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float32.cu index a528f35e..9dd164d5 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFC_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFC_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_bfloat16.cu index 7e0a8143..153f54ab 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFINV_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float16.cu index 31b8d032..37b4a3f4 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float32.cu index 63d2fe41..a022e82c 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERFINV_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/ERF_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ERF_dt_bfloat16.cu index 9179d28a..29c76242 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERF_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERF_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERF_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERF_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ERF_dt_float16.cu index 742a8d66..2156e847 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERF_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERF_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERF_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ERF_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ERF_dt_float32.cu index 0ca29e2f..3b86ad21 100644 --- a/dnn/src/cuda/elemwise/kimpl/ERF_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ERF_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ERF_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_bfloat16.cu index 872d9211..36eb1dbb 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXPM1_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float16.cu index ee59a5c2..daaed095 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float32.cu index 9873b079..8acc8cd2 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXPM1_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/EXP_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/EXP_dt_bfloat16.cu index bfd06555..576831bb 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXP_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXP_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXP_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EXP_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/EXP_dt_float16.cu index 1fa881f0..57e07652 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXP_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXP_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXP_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/EXP_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/EXP_dt_float32.cu index aef25c33..cbf23a51 100644 --- a/dnn/src/cuda/elemwise/kimpl/EXP_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/EXP_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/EXP_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cu index 9f49a00b..3f4de682 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cu index e954efae..68034e3f 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cu index 47fcea33..16614d4d 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_bfloat16.cu index c4864a30..1e41b596 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float16.cu index 9fa36c1a..128142cf 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float32.cu index 427cd5e3..7c67ca34 100644 --- a/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FAST_TANH_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cu index bfbdc153..df89d8cf 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float16.cu index 1757c4b4..102a4455 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float32.cu index ca911b11..c22574b6 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int16.cu index db29f5c1..0c5eadea 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int32.cu index 57551f97..23408ae3 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int8.cu index c2751717..aa6005ea 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_uint8.cu index bfbafcca..5aa2fa74 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_DIV_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_bfloat16.cu index 0068af13..cad5adc1 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float16.cu index fba0dc9c..aa434531 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float32.cu index 9b7a85fd..b64b99c7 100644 --- a/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FLOOR_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cu index 57efd743..c4a621e5 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cu index 8fc78520..255dca30 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cu index f9181c03..c183462b 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cu index ac4261fe..86c3d9f6 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cu index b3b0f2f3..f1541b7a 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cu index cbd42436..a9aa59ae 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cu index 5847a6d4..86038f27 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cu index 7dfe0d66..6f1a21b7 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cu index 4b2692a2..dd2771dd 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cu index 8e7dbc85..229d7b69 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cu index 9759107a..1ff3d0cb 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cu index 3947bb93..7bd8b0f5 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cu index 71f1f955..48656fc4 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cu index 4b6b9c1b..5928c23c 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cu index 490654b5..86ea8f2a 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cu index 6d4b9fa1..349b33ea 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cu index 66eeec8c..9f213537 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cu index 33a35082..5716afe2 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cu index 3d862e3d..7e4134cb 100644 --- a/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cu index d6717af8..c9d0642a 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cu index 21b37e9a..4e03c1e1 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cu index 545f094b..8fbfc156 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_bfloat16.cu index 639d23b4..42962ab1 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float16.cu index e1cbea2f..a97d4aaf 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float32.cu index 0bb014e0..6f42839c 100644 --- a/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/H_SWISH_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bfloat16.cu index 1e0560cb..99002d87 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bool.cu index 985b7a97..2e66f6a0 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float16.cu index 937fd9ad..786c2feb 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float32.cu index 10ea3610..3d1f4970 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int16.cu index a716a2f5..33f503a9 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int32.cu index b4060e54..c7e04327 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int8.cu index f7214e71..7c7bebcd 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_uint8.cu index 3e4f3c6c..ef977f91 100644 --- a/dnn/src/cuda/elemwise/kimpl/LEQ_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/LEQ_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LEQ_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_bfloat16.cu index 4728eb07..61049398 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG1P_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float16.cu index 2b899c34..2f95257b 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float32.cu index 68daa6c9..7fe27d28 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG1P_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cu index 08cd429f..118b75b5 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cu index 85901882..b9eb2b37 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cu index d350490d..c5ea7054 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/LOG_dt_bfloat16.cu index 235ae74d..ba72b22e 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/LOG_dt_float16.cu index 9645202c..cda065e6 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LOG_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/LOG_dt_float32.cu index 17f1d36d..56b1cfd6 100644 --- a/dnn/src/cuda/elemwise/kimpl/LOG_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LOG_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LOG_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_bfloat16.cu index 5093ee94..b1751e5b 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_bool.cu index f3873934..d66053e6 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_float16.cu index 8f84ab33..2bd4bb7f 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_float32.cu index 84da58f5..bfd1c942 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_int16.cu index 036b5884..484f8cfe 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_int32.cu index 5e82e872..d44e5041 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_int8.cu index 92313c56..1ae62018 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/LT_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/LT_dt_uint8.cu index 25e7066d..a18d0913 100644 --- a/dnn/src/cuda/elemwise/kimpl/LT_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/LT_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/LT_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_bfloat16.cu index bb14bd81..0ded7168 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_float16.cu index 02f5aacd..580efc07 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_float32.cu index c9d81602..fc13cb74 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int16.cu index de1de5fe..b49743e1 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int32.cu index 02654c53..c9649f9c 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int8.cu index 7387197b..e0e24df0 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MAX_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/MAX_dt_uint8.cu index 2c06557e..bf1a78a3 100644 --- a/dnn/src/cuda/elemwise/kimpl/MAX_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MAX_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MAX_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_bfloat16.cu index a0205661..9a487057 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_float16.cu index 77580cd3..26c8df53 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_float32.cu index 3ef78a5e..d3a40eff 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int16.cu index 4b2f1e8a..787b8d21 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int32.cu index e253b54e..a7621fdb 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int8.cu index c94fe5a2..598a3f06 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MIN_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/MIN_dt_uint8.cu index 047ca3f3..393347fb 100644 --- a/dnn/src/cuda/elemwise/kimpl/MIN_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MIN_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MIN_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_bfloat16.cu index 397e050c..465c5019 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_float16.cu index 8c0e1e86..0f5d6e14 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_float32.cu index a18c33ef..38a18d02 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int16.cu index 1ca2d0b3..736a4c1a 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int32.cu index 27adc7de..f4999db2 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int8.cu index 67af99ed..af16999c 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MOD_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/MOD_dt_uint8.cu index 5c2239f5..65841790 100644 --- a/dnn/src/cuda/elemwise/kimpl/MOD_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MOD_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MOD_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_bfloat16.cu index f8bd0b10..434b5797 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_float16.cu index fa5c045d..8100f209 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_float32.cu index 1221c930..73293900 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int16.cu index ed8d087d..8df90a7e 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int32.cu index d134cbc1..96f7da3d 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int8.cu index 51a940dc..5a90184e 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/MUL_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/MUL_dt_uint8.cu index 869ac8d1..334814b5 100644 --- a/dnn/src/cuda/elemwise/kimpl/MUL_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/MUL_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/MUL_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_bfloat16.cu index 8f2aa43d..ef8c4e4d 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float16.cu index 37bbef68..1ef8ed1d 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float32.cu index 67450e9c..290a1a03 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int16.cu index 9fad09df..ea506d31 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int32.cu index 2b050a96..6d21f1e5 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int8.cu index a2a4fab8..74dba711 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_uint8.cu index e5a7c179..927f0fa1 100644 --- a/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/NEGATE_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NEGATE_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/NOT_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/NOT_dt_bool.cu index 6774e133..bcc61f4a 100644 --- a/dnn/src/cuda/elemwise/kimpl/NOT_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/NOT_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/NOT_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NOT, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/OR_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/OR_dt_bool.cu index cab52df0..4f1364b4 100644 --- a/dnn/src/cuda/elemwise/kimpl/OR_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/OR_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/OR_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(OR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/POW_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/POW_dt_bfloat16.cu index 65ef8109..c97c703a 100644 --- a/dnn/src/cuda/elemwise/kimpl/POW_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/POW_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/POW_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/POW_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/POW_dt_float16.cu index 649056ec..d4ba6730 100644 --- a/dnn/src/cuda/elemwise/kimpl/POW_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/POW_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/POW_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/POW_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/POW_dt_float32.cu index 961963cd..e9fb788e 100644 --- a/dnn/src/cuda/elemwise/kimpl/POW_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/POW_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/POW_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_bfloat16.cu index 432eb921..0e6f2080 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_float16.cu index 03ae007b..e5393775 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_float32.cu index dd51d693..d18e37c8 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int16.cu index 16108bb4..3eb24ed4 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int32.cu index 6d8c6515..8c11a2e3 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int8.cu index 755fe67a..9330078e 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/RELU_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/RELU_dt_uint8.cu index f3a99f6d..470bd051 100644 --- a/dnn/src/cuda/elemwise/kimpl/RELU_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/RELU_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RELU_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int16.cu index 843836c3..0f21d7cb 100644 --- a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RMULH_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int32.cu index a8c791b8..2f125239 100644 --- a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RMULH_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int8.cu index 7cedcd83..e2229ac1 100644 --- a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RMULH_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_uint8.cu index b7962150..89e247eb 100644 --- a/dnn/src/cuda/elemwise/kimpl/RMULH_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/RMULH_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/RMULH_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_bfloat16.cu index 5af0313b..786c6b80 100644 --- a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ROUND_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float16.cu index bdd87ff9..0e24f548 100644 --- a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ROUND_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float32.cu index 06db7e4d..9660812d 100644 --- a/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/ROUND_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/ROUND_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int16.cu index 53b5d392..1ec354f7 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHL_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int32.cu index 71f570c7..c62bcc4f 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHL_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int8.cu index 6b4d862f..906d29f3 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHL_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHL_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHL_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHL_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/SHL_dt_uint8.cu index 46124c93..50dae36e 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHL_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHL_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHL_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int16.cu index e7a2a173..d9ecc70c 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHR_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int32.cu index 096f339f..583a1554 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHR_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int8.cu index d968d8ae..6a9bfba6 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHR_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHR_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHR_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SHR_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/SHR_dt_uint8.cu index 700fbf44..cff0b17b 100644 --- a/dnn/src/cuda/elemwise/kimpl/SHR_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SHR_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SHR_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cu index 692c3d64..9ea6f76d 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cu index c552b8bd..4b89026a 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cu index fd94dbf0..cd70a27d 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cu index b310f877..65b55d7b 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cu index a961fbf1..21bde467 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cu index cda67cde..3584305f 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cu index fa731e7c..d339eea4 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_bfloat16.cu index b94f4a5f..9b1dab64 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float16.cu index 6157b102..baae5803 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float32.cu index 677d3a8e..4b4b1d8f 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIGMOID_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/SIN_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/SIN_dt_bfloat16.cu index a3f23bcf..685effd7 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIN_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIN_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIN_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIN_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/SIN_dt_float16.cu index 27fe547a..fdabffd0 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIN_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIN_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIN_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SIN_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/SIN_dt_float32.cu index 28e9db2f..2f1ea67c 100644 --- a/dnn/src/cuda/elemwise/kimpl/SIN_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SIN_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SIN_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_bfloat16.cu index a72052b6..a54b0ca7 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_float16.cu index e95cde06..129bd04f 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_float32.cu index a3f824b3..1b0aec6a 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int16.cu index 29d104a1..957627f1 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int32.cu index d7a2d0fd..e41c6bcf 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int8.cu index cc66a40e..4a0890e4 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SUB_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/SUB_dt_uint8.cu index deffafc1..33a54a6a 100644 --- a/dnn/src/cuda/elemwise/kimpl/SUB_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SUB_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SUB_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cu index c5daf3df..c09c4097 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float16.cu index 07255631..7fe80c4c 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float32.cu index 01ed2df7..9a759078 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int16.cu index b564e4af..0d2892f4 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int32.cu index 4521ee09..c7f4b26c 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int8.cu index b59446a2..1d4df389 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_uint8.cu index db410c49..7c83a5c2 100644 --- a/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/SWITCH_GT0_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cu index a048f507..59b75e81 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float16.cu index ce454599..5be50c8c 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float32.cu index 433b55de..0e259719 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int16.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int16.cu index 2697ebf0..4efd5978 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int32.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int32.cu index f9544794..69202693 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int32.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int8.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int8.cu index c655aaa0..448aaf29 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int8.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_uint8.cu b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_uint8.cu index ab2036e3..e1fc7756 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_GRAD_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/TANH_dt_bfloat16.cu index fd7c0528..6cb6ccca 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/TANH_dt_float16.cu index 683f4883..3c807b09 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TANH_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/TANH_dt_float32.cu index 00c542c6..89184efd 100644 --- a/dnn/src/cuda/elemwise/kimpl/TANH_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/TANH_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TANH_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cu b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cu index 9618c037..62f886e7 100644 --- a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float16.cu b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float16.cu index ed382689..7e4779c4 100644 --- a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float16.cu +++ b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) diff --git a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float32.cu b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float32.cu index 7441a0ae..6792bbe3 100644 --- a/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float32.cu +++ b/dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/TRUE_DIV_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/kimpl/XOR_dt_bool.cu b/dnn/src/cuda/elemwise/kimpl/XOR_dt_bool.cu index 0e7a2192..548a3134 100644 --- a/dnn/src/cuda/elemwise/kimpl/XOR_dt_bool.cu +++ b/dnn/src/cuda/elemwise/kimpl/XOR_dt_bool.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kimpl/XOR_dt_bool.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(XOR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_bfloat16.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_bfloat16.cu index 139793a8..655d219d 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_bfloat16.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_bfloat16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_bfloat16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #include "../special_kerns.inl" diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_float16.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_float16.cu index 2857f61b..2e2f77b0 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_float16.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_float16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_float16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #include "../special_kerns.inl" diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_float32.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_float32.cu index fb929f03..8d267018 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_float32.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_float32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_float32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #include "../special_kerns.inl" INST(::megdnn::dtype::Float32) diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int16.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int16.cu index b16743de..25063dcd 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int16.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int16.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_int16.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #include "../special_kerns.inl" INST(::megdnn::dtype::Int16) diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int32.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int32.cu index 74bf726b..2a62bb21 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int32.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_int32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #include "../special_kerns.inl" INST(::megdnn::dtype::Int32) diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int8.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int8.cu index fafb0923..69fbafe4 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_int8.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #include "../special_kerns.inl" INST(::megdnn::dtype::Int8) diff --git a/dnn/src/cuda/elemwise/special_kimpl/special_dt_uint8.cu b/dnn/src/cuda/elemwise/special_kimpl/special_dt_uint8.cu index 00c83190..2ff1ec79 100644 --- a/dnn/src/cuda/elemwise/special_kimpl/special_dt_uint8.cu +++ b/dnn/src/cuda/elemwise/special_kimpl/special_dt_uint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kimpl/special_dt_uint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_special_kern_impls.py #include "../special_kerns.inl" INST(::megdnn::dtype::Uint8) diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_GRAD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_GRAD_dt_qint8_dt_qint8.cu index f9ac3e13..c5a54505 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_GRAD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_GRAD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ABS_GRAD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_dt_qint8_dt_qint8.cu index f591e9dc..eaf9025e 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ABS_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ABS_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ACOS_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ACOS_dt_qint8_dt_qint8.cu index c8217765..4405606d 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ACOS_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ACOS_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ACOS_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint32_dt_qint8.cu index b4f2d5e0..b50632a9 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint32.cu index a73a3406..b9ccf32d 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint8.cu index af7e9383..dc0be493 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ADD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ASIN_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ASIN_dt_qint8_dt_qint8.cu index 596c89e0..2e849193 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ASIN_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ASIN_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ASIN_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ATAN2_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ATAN2_dt_qint8_dt_qint8.cu index eb88c18e..1ed9241e 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ATAN2_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ATAN2_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ATAN2_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/CEIL_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/CEIL_dt_qint8_dt_qint8.cu index db1fa329..6e875dfd 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/CEIL_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/CEIL_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/CEIL_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/COND_LEQ_MOV_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/COND_LEQ_MOV_dt_qint8_dt_qint8.cu index d17655c6..8b863b4c 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/COND_LEQ_MOV_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/COND_LEQ_MOV_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/COND_LEQ_MOV_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/COS_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/COS_dt_qint8_dt_qint8.cu index c9337062..43beeed2 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/COS_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/COS_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/COS_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/EQ_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/EQ_dt_qint8_dt_qint8.cu index 933e121b..0fb375a3 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/EQ_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/EQ_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/EQ_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFCINV_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFCINV_dt_qint8_dt_qint8.cu index 966878ac..be0a1b4e 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFCINV_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFCINV_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ERFCINV_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFC_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFC_dt_qint8_dt_qint8.cu index c0184be1..090093e5 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFC_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFC_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ERFC_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFINV_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFINV_dt_qint8_dt_qint8.cu index 52394e1f..0857b6ca 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ERFINV_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ERFINV_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ERFINV_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ERF_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ERF_dt_qint8_dt_qint8.cu index ae746f46..aba969ae 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ERF_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ERF_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ERF_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/EXPM1_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/EXPM1_dt_qint8_dt_qint8.cu index 707800f2..661079a7 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/EXPM1_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/EXPM1_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/EXPM1_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/EXP_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/EXP_dt_qint8_dt_qint8.cu index 7827e97d..7238fbdf 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/EXP_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/EXP_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/EXP_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_GRAD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_GRAD_dt_qint8_dt_qint8.cu index 48bdc3ad..4a2f5e4d 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_GRAD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_GRAD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_GRAD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint32_dt_qint8.cu index 14cb7067..59152e79 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint32.cu index fffe5efb..18d9feaa 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint8.cu index b5e25b6c..caf308d9 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FAST_TANH_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_DIV_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_DIV_dt_qint8_dt_qint8.cu index ecb2df4c..f733311d 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_DIV_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_DIV_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_DIV_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_dt_qint8_dt_qint8.cu index d6e6e3e4..237a65bb 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FLOOR_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint32_dt_qint8.cu index 836b814e..50e17237 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint32.cu index e50c6b18..dc875db2 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint8.cu index 7d0f6775..1a1c84bb 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_H_SWISH_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint32_dt_qint8.cu index 56fdddf3..6673c738 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint32.cu index 78be51a0..36c33235 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint8.cu index 4a0a4394..0ee3bb5a 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_RELU_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint32_dt_qint8.cu index 007a2a77..211fa3ed 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint32.cu index a6234355..7c167af4 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint8.cu index 6d5ce87e..d8ff17ae 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_SIGMOID_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint32_dt_qint8.cu index 59d6d3f5..addb6872 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint32.cu index 30b258bd..2b369e12 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint8.cu index da877e26..593dfa54 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_ADD_TANH_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_MUL_ADD3_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_MUL_ADD3_dt_qint8_dt_qint8.cu index 3ecaab9c..ea5c80b5 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_MUL_ADD3_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_MUL_ADD3_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/FUSE_MUL_ADD3_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_GRAD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_GRAD_dt_qint8_dt_qint8.cu index 91df6e84..f7c397c0 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_GRAD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_GRAD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_GRAD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint32_dt_qint8.cu index f2a4560d..fddd0fa1 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint32.cu index bbe79fbb..6b5de5de 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint8.cu index 785e1c86..4df2fe61 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/H_SWISH_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/LEQ_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/LEQ_dt_qint8_dt_qint8.cu index 65c4622f..9abb22c8 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/LEQ_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/LEQ_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/LEQ_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG1P_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG1P_dt_qint8_dt_qint8.cu index d6547094..66ecb426 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG1P_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG1P_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/LOG1P_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_SUM_EXP_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_SUM_EXP_dt_qint8_dt_qint8.cu index bcc5e12b..56325848 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_SUM_EXP_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_SUM_EXP_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/LOG_SUM_EXP_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_dt_qint8_dt_qint8.cu index 0e04b0ba..195cc341 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/LOG_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/LOG_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/LT_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/LT_dt_qint8_dt_qint8.cu index f2c63bf7..be46f227 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/LT_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/LT_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/LT_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/MAX_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/MAX_dt_qint8_dt_qint8.cu index 964a96dc..dd9e7000 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/MAX_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/MAX_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/MAX_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/MIN_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/MIN_dt_qint8_dt_qint8.cu index 434ff151..31cf5052 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/MIN_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/MIN_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/MIN_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/MOD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/MOD_dt_qint8_dt_qint8.cu index 60f1caf7..47e2912c 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/MOD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/MOD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/MOD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/MUL_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/MUL_dt_qint8_dt_qint8.cu index 28f5a50f..92d7fa64 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/MUL_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/MUL_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/MUL_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/NEGATE_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/NEGATE_dt_qint8_dt_qint8.cu index 75e95afb..d3a0474b 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/NEGATE_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/NEGATE_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/NEGATE_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/POW_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/POW_dt_qint8_dt_qint8.cu index aafeb2ae..8fb12675 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/POW_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/POW_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/POW_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint32_dt_qint8.cu index 30d9e12f..9497ac7e 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint32.cu index 819b3a49..1336e904 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint8.cu index 3f2302fd..50a94f1a 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/RELU_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/ROUND_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/ROUND_dt_qint8_dt_qint8.cu index 21338e97..94bfc75a 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/ROUND_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/ROUND_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/ROUND_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_GRAD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_GRAD_dt_qint8_dt_qint8.cu index d3310780..18fed731 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_GRAD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_GRAD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_GRAD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint32_dt_qint8.cu index 4263b17c..8c61c9ee 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint32.cu index 073beb3e..e2f341d5 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint8.cu index d87c009c..f10a6b3a 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SIGMOID_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SIN_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SIN_dt_qint8_dt_qint8.cu index 10497c4f..9bbc4212 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SIN_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SIN_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SIN_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SUB_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SUB_dt_qint8_dt_qint8.cu index 2292d5d1..bb8142fb 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SUB_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SUB_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SUB_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/SWITCH_GT0_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/SWITCH_GT0_dt_qint8_dt_qint8.cu index e3b3dd2b..04f2ee6a 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/SWITCH_GT0_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/SWITCH_GT0_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/SWITCH_GT0_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_GRAD_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_GRAD_dt_qint8_dt_qint8.cu index 2170e7ce..21902963 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_GRAD_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_GRAD_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/TANH_GRAD_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint32_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint32_dt_qint8.cu index dae0822c..076e4cbf 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint32_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint32_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint32_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint32.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint32.cu index 89d7333d..34ed375c 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint32.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint8.cu index 1dbba144..12ce0edd 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/TANH_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/cuda/elemwise_multi_type/kimpl/TRUE_DIV_dt_qint8_dt_qint8.cu b/dnn/src/cuda/elemwise_multi_type/kimpl/TRUE_DIV_dt_qint8_dt_qint8.cu index 7666159d..823c69b2 100644 --- a/dnn/src/cuda/elemwise_multi_type/kimpl/TRUE_DIV_dt_qint8_dt_qint8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kimpl/TRUE_DIV_dt_qint8_dt_qint8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kimpl/TRUE_DIV_dt_qint8_dt_qint8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_multi_type_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp index 93919198..c6a0644e 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float16.cpp index 7c1746d2..d4f8ac33 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float32.cpp index 14beb0f8..4b8c7696 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int16.cpp index ccb25bbc..fe2bb209 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int32.cpp index 009c4d31..062685a7 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int8.cpp index 2d14f922..bd883a99 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_uint8.cpp index 3a893c36..185c733b 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_GRAD_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_bfloat16.cpp index 7e311563..0cfb7e0e 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_float16.cpp index 1fb3c872..665208ea 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_float32.cpp index 8c8caa75..6bd3fd01 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_int16.cpp index b1a2cd44..6d0a1d42 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_int32.cpp index b607c60c..b7468e36 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_int8.cpp index a51fc40d..9af9fc33 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ABS_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/ABS_dt_uint8.cpp index 89fd0b42..c197ee12 100644 --- a/dnn/src/naive/elemwise/kimpl/ABS_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ABS_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ABS_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ACOS_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ACOS_dt_bfloat16.cpp index cc60c400..912d2a62 100644 --- a/dnn/src/naive/elemwise/kimpl/ACOS_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ACOS_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ACOS_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ACOS_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ACOS_dt_float16.cpp index 20e217b3..9a072a73 100644 --- a/dnn/src/naive/elemwise/kimpl/ACOS_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ACOS_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ACOS_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ACOS_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ACOS_dt_float32.cpp index ade89635..c8382465 100644 --- a/dnn/src/naive/elemwise/kimpl/ACOS_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ACOS_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ACOS_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_bfloat16.cpp index 91c80e1c..11892b40 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_float16.cpp index f74aed3f..d1097cee 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_float32.cpp index f68b8e97..04e414d8 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_int16.cpp index 326e90a4..2692639b 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_int32.cpp index da570340..2a8b63ab 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_int8.cpp index 6fa031ab..a9ff809f 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ADD_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/ADD_dt_uint8.cpp index 38b41640..fd4c23d0 100644 --- a/dnn/src/naive/elemwise/kimpl/ADD_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/ADD_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ADD_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/AND_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/AND_dt_bool.cpp index 605eb17d..7ca91d7a 100644 --- a/dnn/src/naive/elemwise/kimpl/AND_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/AND_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/AND_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(AND, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ASIN_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ASIN_dt_bfloat16.cpp index 94d512dc..011994da 100644 --- a/dnn/src/naive/elemwise/kimpl/ASIN_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ASIN_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ASIN_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ASIN_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ASIN_dt_float16.cpp index bb077353..20b2a7c8 100644 --- a/dnn/src/naive/elemwise/kimpl/ASIN_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ASIN_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ASIN_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ASIN_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ASIN_dt_float32.cpp index 5e56d3f4..a7852fa9 100644 --- a/dnn/src/naive/elemwise/kimpl/ASIN_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ASIN_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ASIN_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_bfloat16.cpp index cb378ee9..84ece010 100644 --- a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ATAN2_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float16.cpp index 17ca2b7c..e30a5931 100644 --- a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ATAN2_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float32.cpp index c09fed50..7024dbaa 100644 --- a/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ATAN2_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ATAN2_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/CEIL_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/CEIL_dt_bfloat16.cpp index 2276a563..9b4995bc 100644 --- a/dnn/src/naive/elemwise/kimpl/CEIL_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/CEIL_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/CEIL_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) diff --git a/dnn/src/naive/elemwise/kimpl/CEIL_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/CEIL_dt_float16.cpp index 751aa7b4..e5051bb2 100644 --- a/dnn/src/naive/elemwise/kimpl/CEIL_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/CEIL_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/CEIL_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) diff --git a/dnn/src/naive/elemwise/kimpl/CEIL_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/CEIL_dt_float32.cpp index 382487f0..c3f91b79 100644 --- a/dnn/src/naive/elemwise/kimpl/CEIL_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/CEIL_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/CEIL_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp index b76b9ede..e2aafdd6 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cpp index 0bf68b0d..6025e7e0 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cpp index d987a81b..90d61a5f 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cpp index 6badf55d..81bd6fe1 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cpp index dd35e9d2..63d9211a 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cpp index d4ef69c1..cb8b92d3 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cpp index 1b853273..fd1b9437 100644 --- a/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COND_LEQ_MOV_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/COS_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/COS_dt_bfloat16.cpp index 17889e8d..467b85a0 100644 --- a/dnn/src/naive/elemwise/kimpl/COS_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/COS_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COS_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/COS_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/COS_dt_float16.cpp index 8135cabc..c3b061ed 100644 --- a/dnn/src/naive/elemwise/kimpl/COS_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/COS_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COS_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) diff --git a/dnn/src/naive/elemwise/kimpl/COS_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/COS_dt_float32.cpp index 9f329890..89b9f12c 100644 --- a/dnn/src/naive/elemwise/kimpl/COS_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/COS_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/COS_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_bfloat16.cpp index 181a8cee..66caac75 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_bool.cpp index 1d3f3fab..437b4d84 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_float16.cpp index 964c43d8..2492fcb8 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_float32.cpp index fd57945e..3dbdaf9d 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_int16.cpp index 1ef669ec..1887146f 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_int32.cpp index 1005896b..2518d6ff 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_int8.cpp index 4b234cc6..d0ca968f 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/EQ_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/EQ_dt_uint8.cpp index 90db3d07..6c62949c 100644 --- a/dnn/src/naive/elemwise/kimpl/EQ_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/EQ_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EQ_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp index baf9859a..66899960 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float16.cpp index 360ed19a..98315e0e 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float32.cpp index d27217b3..e337f0c6 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFCINV_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ERFC_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ERFC_dt_bfloat16.cpp index 249e937d..05218cf3 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFC_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFC_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFC_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFC_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ERFC_dt_float16.cpp index eb89455b..2f0894cc 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFC_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFC_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFC_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFC_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ERFC_dt_float32.cpp index 0eb011d9..9dd164d5 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFC_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFC_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFC_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_bfloat16.cpp index e9f1096a..153f54ab 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFINV_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float16.cpp index d5a34b2b..37b4a3f4 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFINV_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float32.cpp index c667031c..a022e82c 100644 --- a/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERFINV_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERFINV_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/ERF_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ERF_dt_bfloat16.cpp index b83de879..29c76242 100644 --- a/dnn/src/naive/elemwise/kimpl/ERF_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERF_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERF_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERF_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ERF_dt_float16.cpp index 3bcd3b40..2156e847 100644 --- a/dnn/src/naive/elemwise/kimpl/ERF_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERF_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERF_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ERF_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ERF_dt_float32.cpp index db05e181..3b86ad21 100644 --- a/dnn/src/naive/elemwise/kimpl/ERF_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ERF_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ERF_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_bfloat16.cpp index b397721f..36eb1dbb 100644 --- a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXPM1_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float16.cpp index a405b89f..daaed095 100644 --- a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXPM1_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float32.cpp index 593c75f0..8acc8cd2 100644 --- a/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXPM1_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXPM1_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/EXP_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/EXP_dt_bfloat16.cpp index 97eb022f..576831bb 100644 --- a/dnn/src/naive/elemwise/kimpl/EXP_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXP_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXP_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EXP_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/EXP_dt_float16.cpp index 52208644..57e07652 100644 --- a/dnn/src/naive/elemwise/kimpl/EXP_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXP_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXP_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) diff --git a/dnn/src/naive/elemwise/kimpl/EXP_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/EXP_dt_float32.cpp index 66557b7f..cbf23a51 100644 --- a/dnn/src/naive/elemwise/kimpl/EXP_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/EXP_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/EXP_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp index 91d4e7e9..3f4de682 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cpp index 3140a988..68034e3f 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cpp index 547daa32..16614d4d 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_GRAD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp index cf7f86a6..1e41b596 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float16.cpp index 5d146ef8..128142cf 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float32.cpp index b9f22a9c..7c67ca34 100644 --- a/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FAST_TANH_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp index ec884116..df89d8cf 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float16.cpp index c77086c7..102a4455 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float32.cpp index d86e5603..c22574b6 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int16.cpp index 7a0c48e3..0c5eadea 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int32.cpp index 1f3fc1b8..23408ae3 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int8.cpp index 804072de..aa6005ea 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_uint8.cpp index 3c558698..5aa2fa74 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_DIV_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_bfloat16.cpp index 11f74c86..cad5adc1 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float16.cpp index 0c46109f..aa434531 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float32.cpp index 930af009..b64b99c7 100644 --- a/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FLOOR_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FLOOR_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp index 3d2dae2d..c4a621e5 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cpp index 98a3f832..255dca30 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cpp index 13688c84..c183462b 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp index 9f4645c4..86c3d9f6 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cpp index e7a6b47e..f1541b7a 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cpp index e045be9d..a9aa59ae 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cpp index 8d661d47..86038f27 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cpp index 7033dd67..6f1a21b7 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cpp index 3c5ebb88..dd2771dd 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cpp index 58a08627..229d7b69 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_RELU_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp index 0f2e3386..1ff3d0cb 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cpp index 3e5da79c..7bd8b0f5 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cpp index 6da841cd..48656fc4 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp index 2a33b0b0..5928c23c 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cpp index c5059375..86ea8f2a 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cpp index 37682f89..349b33ea 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_ADD_TANH_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp index 62ce1ed3..9f213537 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cpp index 662c95ee..5716afe2 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) diff --git a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cpp index 72e07026..7e4134cb 100644 --- a/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/FUSE_MUL_ADD3_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) #define KERN_IMPL_ARITY 3 diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp index 234889c4..c9d0642a 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cpp index 2bf9d783..4e03c1e1 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cpp index 73a44d85..8fbfc156 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_GRAD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp index ad33240e..42962ab1 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float16.cpp index d72b96e3..a97d4aaf 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float32.cpp index 1f9a9945..6f42839c 100644 --- a/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/H_SWISH_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_bfloat16.cpp index adbaee2a..99002d87 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_bool.cpp index 6a7848b1..2e66f6a0 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_float16.cpp index 11afa40f..786c2feb 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_float32.cpp index d9847af6..3d1f4970 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int16.cpp index 00990884..33f503a9 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int32.cpp index a673f9fd..c7e04327 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int8.cpp index 7670c047..7c7bebcd 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LEQ_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/LEQ_dt_uint8.cpp index abf5a177..ef977f91 100644 --- a/dnn/src/naive/elemwise/kimpl/LEQ_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/LEQ_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LEQ_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_bfloat16.cpp index 0d62d7d0..61049398 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG1P_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float16.cpp index f45dd440..2f95257b 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG1P_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float32.cpp index 1f5ef6b1..7fe27d28 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG1P_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG1P_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp index 5a96d87e..118b75b5 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cpp index 4ceda7bd..b9eb2b37 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cpp index 921a3738..c5ea7054 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_SUM_EXP_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LOG_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/LOG_dt_bfloat16.cpp index 1365e97f..ba72b22e 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/LOG_dt_float16.cpp index f527a2f7..cda065e6 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LOG_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/LOG_dt_float32.cpp index eccdee29..56b1cfd6 100644 --- a/dnn/src/naive/elemwise/kimpl/LOG_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LOG_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LOG_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_bfloat16.cpp index 31f9cfea..b1751e5b 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_bool.cpp index fad8b121..d66053e6 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_float16.cpp index f00b1bfe..2bd4bb7f 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_float32.cpp index 5bec975e..bfd1c942 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_int16.cpp index 2e0b5462..484f8cfe 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_int32.cpp index d4c3941d..d44e5041 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_int8.cpp index cfd9b0df..1ae62018 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/LT_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/LT_dt_uint8.cpp index 1e015a12..a18d0913 100644 --- a/dnn/src/naive/elemwise/kimpl/LT_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/LT_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/LT_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_bfloat16.cpp index faebe1de..0ded7168 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_float16.cpp index fd018573..580efc07 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_float32.cpp index 8f96c499..fc13cb74 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_int16.cpp index 77ba3dd4..b49743e1 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_int32.cpp index 887be796..c9649f9c 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_int8.cpp index b83d86e8..e0e24df0 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MAX_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/MAX_dt_uint8.cpp index e06d0a60..bf1a78a3 100644 --- a/dnn/src/naive/elemwise/kimpl/MAX_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MAX_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MAX_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_bfloat16.cpp index 848e72ce..9a487057 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_float16.cpp index b3d3be35..26c8df53 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_float32.cpp index 753a13bb..d3a40eff 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_int16.cpp index 6ccdac57..787b8d21 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_int32.cpp index 5bdcbff5..a7621fdb 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_int8.cpp index 94a340e8..598a3f06 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MIN_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/MIN_dt_uint8.cpp index 67a67f8e..393347fb 100644 --- a/dnn/src/naive/elemwise/kimpl/MIN_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MIN_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MIN_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_bfloat16.cpp index a9040657..465c5019 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_float16.cpp index 817d1906..0f5d6e14 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_float32.cpp index 131862c9..38a18d02 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_int16.cpp index 6aa23d93..736a4c1a 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_int32.cpp index 2b6f9889..f4999db2 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_int8.cpp index bdc0a141..af16999c 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MOD_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/MOD_dt_uint8.cpp index d2063e11..65841790 100644 --- a/dnn/src/naive/elemwise/kimpl/MOD_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MOD_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MOD_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_bfloat16.cpp index 242a884f..434b5797 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_float16.cpp index 747ade1e..8100f209 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_float32.cpp index 0ecad95e..73293900 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_int16.cpp index 7360e83c..8df90a7e 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_int32.cpp index 5c3f95b4..96f7da3d 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_int8.cpp index cb2c7e42..5a90184e 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/MUL_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/MUL_dt_uint8.cpp index d23dd685..334814b5 100644 --- a/dnn/src/naive/elemwise/kimpl/MUL_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/MUL_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/MUL_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_bfloat16.cpp index 720df019..ef8c4e4d 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float16.cpp index c8ebc3ac..1ef8ed1d 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float32.cpp index 69d16556..290a1a03 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int16.cpp index 3334c376..ea506d31 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int32.cpp index 5ee3054d..6d21f1e5 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int8.cpp index 5790ba85..74dba711 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_uint8.cpp index 7a643550..927f0fa1 100644 --- a/dnn/src/naive/elemwise/kimpl/NEGATE_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/NEGATE_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NEGATE_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/NOT_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/NOT_dt_bool.cpp index 33408885..bcc61f4a 100644 --- a/dnn/src/naive/elemwise/kimpl/NOT_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/NOT_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/NOT_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NOT, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/OR_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/OR_dt_bool.cpp index f47ff571..4f1364b4 100644 --- a/dnn/src/naive/elemwise/kimpl/OR_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/OR_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/OR_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(OR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/POW_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/POW_dt_bfloat16.cpp index ee339df6..c97c703a 100644 --- a/dnn/src/naive/elemwise/kimpl/POW_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/POW_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/POW_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) diff --git a/dnn/src/naive/elemwise/kimpl/POW_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/POW_dt_float16.cpp index 893d3bb2..d4ba6730 100644 --- a/dnn/src/naive/elemwise/kimpl/POW_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/POW_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/POW_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) diff --git a/dnn/src/naive/elemwise/kimpl/POW_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/POW_dt_float32.cpp index 67fea8a1..e9fb788e 100644 --- a/dnn/src/naive/elemwise/kimpl/POW_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/POW_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/POW_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_bfloat16.cpp index 47be8608..0e6f2080 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_float16.cpp index 8b824da5..e5393775 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_float32.cpp index a28f40ac..d18e37c8 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_int16.cpp index 74bc1a65..3eb24ed4 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_int32.cpp index 49da34cb..8c11a2e3 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_int8.cpp index 759624e0..9330078e 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/RELU_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/RELU_dt_uint8.cpp index 9d249eb2..470bd051 100644 --- a/dnn/src/naive/elemwise/kimpl/RELU_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/RELU_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RELU_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int16.cpp index 8885a6a4..0f21d7cb 100644 --- a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RMULH_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int32.cpp index 665f1caf..2f125239 100644 --- a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RMULH_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int8.cpp index 9c9d17f1..e2229ac1 100644 --- a/dnn/src/naive/elemwise/kimpl/RMULH_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/RMULH_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RMULH_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/RMULH_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/RMULH_dt_uint8.cpp index 91e8bd2b..89e247eb 100644 --- a/dnn/src/naive/elemwise/kimpl/RMULH_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/RMULH_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/RMULH_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RMULH, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/ROUND_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/ROUND_dt_bfloat16.cpp index 20d52e01..786c6b80 100644 --- a/dnn/src/naive/elemwise/kimpl/ROUND_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ROUND_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ROUND_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ROUND_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/ROUND_dt_float16.cpp index a7cf2370..0e24f548 100644 --- a/dnn/src/naive/elemwise/kimpl/ROUND_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/ROUND_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ROUND_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) diff --git a/dnn/src/naive/elemwise/kimpl/ROUND_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/ROUND_dt_float32.cpp index 9b5d46b2..9660812d 100644 --- a/dnn/src/naive/elemwise/kimpl/ROUND_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/ROUND_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/ROUND_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/SHL_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/SHL_dt_int16.cpp index 863f33e2..1ec354f7 100644 --- a/dnn/src/naive/elemwise/kimpl/SHL_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHL_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHL_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHL_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/SHL_dt_int32.cpp index cfa1c424..c62bcc4f 100644 --- a/dnn/src/naive/elemwise/kimpl/SHL_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHL_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHL_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHL_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/SHL_dt_int8.cpp index 3946cace..906d29f3 100644 --- a/dnn/src/naive/elemwise/kimpl/SHL_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHL_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHL_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHL_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/SHL_dt_uint8.cpp index 332d36dc..50dae36e 100644 --- a/dnn/src/naive/elemwise/kimpl/SHL_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHL_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHL_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHL, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHR_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/SHR_dt_int16.cpp index 5820ba80..d9ecc70c 100644 --- a/dnn/src/naive/elemwise/kimpl/SHR_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHR_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHR_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHR_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/SHR_dt_int32.cpp index e107bd3d..583a1554 100644 --- a/dnn/src/naive/elemwise/kimpl/SHR_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHR_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHR_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHR_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/SHR_dt_int8.cpp index 49909bf3..6a9bfba6 100644 --- a/dnn/src/naive/elemwise/kimpl/SHR_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHR_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHR_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SHR_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/SHR_dt_uint8.cpp index 8c937918..cff0b17b 100644 --- a/dnn/src/naive/elemwise/kimpl/SHR_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SHR_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SHR_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SHR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp index 15570f14..9ea6f76d 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cpp index 90f2e674..4b89026a 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cpp index 590cf8ec..cd70a27d 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cpp index ffdf6c63..65b55d7b 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cpp index 83f8cdd3..21bde467 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cpp index ca8eea04..3584305f 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cpp index 1ec8306a..d339eea4 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_GRAD_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp index 45bc43db..9b1dab64 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float16.cpp index 29046972..baae5803 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float32.cpp index 1c2a0af2..4b4b1d8f 100644 --- a/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIGMOID_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/SIN_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/SIN_dt_bfloat16.cpp index d72bb36e..685effd7 100644 --- a/dnn/src/naive/elemwise/kimpl/SIN_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIN_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIN_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIN_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/SIN_dt_float16.cpp index 686f694e..fdabffd0 100644 --- a/dnn/src/naive/elemwise/kimpl/SIN_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIN_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIN_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SIN_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/SIN_dt_float32.cpp index 6cca995e..2f1ea67c 100644 --- a/dnn/src/naive/elemwise/kimpl/SIN_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SIN_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SIN_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_bfloat16.cpp index 0e300c07..a54b0ca7 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_float16.cpp index d678eb78..129bd04f 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp index 70e3ebd1..1b0aec6a 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_int16.cpp index a988014b..957627f1 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_int32.cpp index 45814b1a..e41c6bcf 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_int8.cpp index 17b818f3..4a0890e4 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SUB_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/SUB_dt_uint8.cpp index de367a26..33a54a6a 100644 --- a/dnn/src/naive/elemwise/kimpl/SUB_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SUB_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SUB_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp index a050a0c3..c09c4097 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float16.cpp index 4cd2f4fe..7fe80c4c 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float32.cpp index 00ae50fa..9a759078 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int16.cpp index 891ec952..0d2892f4 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int32.cpp index 1b4b0f12..c7f4b26c 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int8.cpp index b52639fa..1d4df389 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_uint8.cpp index ad51b247..7c83a5c2 100644 --- a/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/SWITCH_GT0_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp index d363fb41..59b75e81 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float16.cpp index dcf1703f..5be50c8c 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float32.cpp index 55c1eeaf..0e259719 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int16.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int16.cpp index c77a9c6c..4efd5978 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int32.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int32.cpp index 5f05b405..69202693 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int32.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int8.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int8.cpp index 02106fb1..448aaf29 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int8.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_uint8.cpp b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_uint8.cpp index eda1e254..e1fc7756 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_uint8.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_uint8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_GRAD_dt_uint8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/TANH_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/TANH_dt_bfloat16.cpp index 10531f04..6cb6ccca 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TANH_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/TANH_dt_float16.cpp index 4c8035a5..3c807b09 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TANH_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/TANH_dt_float32.cpp index 5b672454..89184efd 100644 --- a/dnn/src/naive/elemwise/kimpl/TANH_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/TANH_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TANH_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) #define KERN_IMPL_ARITY 1 diff --git a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp index 91b95d88..62f886e7 100644 --- a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float16.cpp b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float16.cpp index ada304dc..7e4779c4 100644 --- a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float16.cpp +++ b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #if !MEGDNN_DISABLE_FLOAT16 #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) diff --git a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float32.cpp b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float32.cpp index 4f628bbb..6792bbe3 100644 --- a/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float32.cpp +++ b/dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/TRUE_DIV_dt_float32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/naive/elemwise/kimpl/XOR_dt_bool.cpp b/dnn/src/naive/elemwise/kimpl/XOR_dt_bool.cpp index b101c06d..548a3134 100644 --- a/dnn/src/naive/elemwise/kimpl/XOR_dt_bool.cpp +++ b/dnn/src/naive/elemwise/kimpl/XOR_dt_bool.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kimpl/XOR_dt_bool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by gen_elemwise_kern_impls.py #define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(XOR, cb) #define KERN_IMPL_ARITY 2 diff --git a/dnn/src/rocm/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..c6a0644e --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ABS_GRAD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS_GRAD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ABS_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ABS_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..0cfb7e0e --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ABS_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ABS, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ACOS_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ACOS_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..912d2a62 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ACOS_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ACOS, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ADD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ADD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..11892b40 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ADD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ADD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/AND_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/AND_dt_bool.cpp.hip new file mode 100644 index 00000000..7ca91d7a --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/AND_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(AND, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/ASIN_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ASIN_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..011994da --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ASIN_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ASIN, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ATAN2_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ATAN2_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..84ece010 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ATAN2_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ATAN2, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/CEIL_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/CEIL_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..9b4995bc --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/CEIL_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(CEIL, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..e2aafdd6 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/COND_LEQ_MOV_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COND_LEQ_MOV, cb) +#define KERN_IMPL_ARITY 3 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/COS_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/COS_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..467b85a0 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/COS_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(COS, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/EQ_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/EQ_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..66caac75 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/EQ_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/EQ_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/EQ_dt_bool.cpp.hip new file mode 100644 index 00000000..437b4d84 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/EQ_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EQ, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..66899960 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ERFCINV_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFCINV, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ERFC_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ERFC_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..05218cf3 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ERFC_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFC, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ERFINV_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ERFINV_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..153f54ab --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ERFINV_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERFINV, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ERF_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ERF_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..29c76242 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ERF_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ERF, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/EXPM1_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/EXPM1_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..36eb1dbb --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/EXPM1_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXPM1, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/EXP_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/EXP_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..576831bb --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/EXP_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(EXP, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..3f4de682 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FAST_TANH_GRAD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH_GRAD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..1e41b596 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FAST_TANH_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FAST_TANH, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..df89d8cf --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FLOOR_DIV_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR_DIV, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FLOOR_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FLOOR_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..cad5adc1 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FLOOR_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FLOOR, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..c4a621e5 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_H_SWISH_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_H_SWISH, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..86c3d9f6 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_RELU_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_RELU, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..1ff3d0cb --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_SIGMOID_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_SIGMOID, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..5928c23c --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FUSE_ADD_TANH_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_ADD_TANH, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..9f213537 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/FUSE_MUL_ADD3_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(FUSE_MUL_ADD3, cb) +#define KERN_IMPL_ARITY 3 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..c9d0642a --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/H_SWISH_GRAD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH_GRAD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..42962ab1 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/H_SWISH_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(H_SWISH, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..99002d87 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bool.cpp.hip new file mode 100644 index 00000000..2e66f6a0 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LEQ_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LEQ, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/LOG1P_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LOG1P_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..61049398 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LOG1P_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG1P, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..118b75b5 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LOG_SUM_EXP_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG_SUM_EXP, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LOG_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LOG_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..ba72b22e --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LOG_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LOG, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LT_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LT_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..b1751e5b --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LT_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/LT_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/LT_dt_bool.cpp.hip new file mode 100644 index 00000000..d66053e6 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/LT_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(LT, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/MAX_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/MAX_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..0ded7168 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/MAX_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MAX, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/MIN_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/MIN_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..9a487057 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/MIN_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MIN, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/MOD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/MOD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..465c5019 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/MOD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MOD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/MUL_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/MUL_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..434b5797 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/MUL_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(MUL, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/NEGATE_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/NEGATE_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..ef8c4e4d --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/NEGATE_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NEGATE, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/NOT_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/NOT_dt_bool.cpp.hip new file mode 100644 index 00000000..bcc61f4a --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/NOT_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(NOT, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/OR_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/OR_dt_bool.cpp.hip new file mode 100644 index 00000000..4f1364b4 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/OR_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(OR, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/kimpl/POW_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/POW_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..c97c703a --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/POW_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(POW, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/RELU_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/RELU_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..0e6f2080 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/RELU_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(RELU, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/ROUND_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/ROUND_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..786c6b80 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/ROUND_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(ROUND, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..9ea6f76d --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/SIGMOID_GRAD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID_GRAD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..9b1dab64 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/SIGMOID_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIGMOID, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/SIN_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/SIN_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..685effd7 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/SIN_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SIN, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/SUB_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/SUB_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..a54b0ca7 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/SUB_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SUB, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..c09c4097 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/SWITCH_GT0_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(SWITCH_GT0, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..59b75e81 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/TANH_GRAD_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH_GRAD, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/TANH_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/TANH_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..6cb6ccca --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/TANH_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TANH, cb) +#define KERN_IMPL_ARITY 1 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..62f886e7 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/TRUE_DIV_dt_bfloat16.cpp.hip @@ -0,0 +1,7 @@ +// generated by gen_elemwise_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(TRUE_DIV, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bfloat16 +#include "../kern_impl.inl" +#endif diff --git a/dnn/src/rocm/elemwise/kimpl/XOR_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/kimpl/XOR_dt_bool.cpp.hip new file mode 100644 index 00000000..548a3134 --- /dev/null +++ b/dnn/src/rocm/elemwise/kimpl/XOR_dt_bool.cpp.hip @@ -0,0 +1,5 @@ +// generated by gen_elemwise_kern_impls.py +#define KERN_IMPL_MODE(cb) MEGDNN_ELEMWISE_MODE_ENABLE(XOR, cb) +#define KERN_IMPL_ARITY 2 +#define KERN_IMPL_CTYPE dt_bool +#include "../kern_impl.inl" diff --git a/dnn/src/rocm/elemwise/special_kimpl/special_dt_bfloat16.cpp.hip b/dnn/src/rocm/elemwise/special_kimpl/special_dt_bfloat16.cpp.hip new file mode 100644 index 00000000..655d219d --- /dev/null +++ b/dnn/src/rocm/elemwise/special_kimpl/special_dt_bfloat16.cpp.hip @@ -0,0 +1,8 @@ +// generated by gen_elemwise_special_kern_impls.py +#if !MEGDNN_DISABLE_FLOAT16 +#include "../special_kerns.inl" +INST(::megdnn::dtype::BFloat16) +#undef INST +} +} +#endif diff --git a/dnn/src/rocm/elemwise/special_kimpl/special_dt_bool.cpp.hip b/dnn/src/rocm/elemwise/special_kimpl/special_dt_bool.cpp.hip new file mode 100644 index 00000000..19702cb8 --- /dev/null +++ b/dnn/src/rocm/elemwise/special_kimpl/special_dt_bool.cpp.hip @@ -0,0 +1,6 @@ +// generated by gen_elemwise_special_kern_impls.py +#include "../special_kerns.inl" +INST(::megdnn::dtype::Bool) +#undef INST +} +}