kern.cu 815 字节
Newer Older
1
/**
2
 * \file dnn/src/cuda/check_non_finite/kern.cu
3 4 5 6 7 8 9 10
 * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
 *
 * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 */
11
#include "src/common/reduce_helper_device.h"
12 13 14 15 16 17 18 19 20

#include "megdnn/dtype.h"
#include "src/cuda/reduce_helper.cuh"

namespace megdnn {
namespace cuda {

#define COMMA ,

21
INST_REDUCE(
22 23
        device_reduce::CheckNonFiniteOp<
                dt_float32 COMMA size_t COMMA dt_int32 COMMA dt_int32>,
24
        false);
25 26

#undef COMMA
M
Megvii Engine Team 已提交
27 28
}  // namespace cuda
}  // namespace megdnn
29 30

// vim: ft=cpp syntax=cpp.doxygen