You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

fill.cpp 521 B

1234567891011121314151617181920212223242526
  1. #include "test/common/fill.h"
  2. #include "test/cuda/fixture.h"
  3. namespace megdnn {
  4. namespace test {
  5. namespace fill {
  6. TEST_F(CUDA, FILL_F32) {
  7. run_fill_test(handle_cuda(), dtype::Float32{});
  8. }
  9. TEST_F(CUDA, FILL_I32) {
  10. run_fill_test(handle_cuda(), dtype::Int32{});
  11. }
  12. #if !MEGDNN_DISABLE_FLOAT16
  13. TEST_F(CUDA, FILL_F16) {
  14. run_fill_test(handle_cuda(), dtype::Float16{});
  15. }
  16. #endif
  17. } // namespace fill
  18. } // namespace test
  19. } // namespace megdnn
  20. // vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}