/** * \file dnn/test/cuda/fill.cpp * 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. */ #include "test/common/fill.h" #include "test/cuda/fixture.h" namespace megdnn { namespace test { namespace fill { TEST_F(CUDA, FILL_F32) { run_fill_test(handle_cuda(), dtype::Float32{}); } TEST_F(CUDA, FILL_I32) { run_fill_test(handle_cuda(), dtype::Int32{}); } #if !MEGDNN_DISABLE_FLOAT16 TEST_F(CUDA, FILL_F16) { run_fill_test(handle_cuda(), dtype::Float16{}); } #endif } // namespace fill } // namespace test } // namespace megdnn // vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}