#include #include "verify_program.hpp" #include #include #include #include struct test_isnan_half : verify_program { migraphx::program create_program() const { migraphx::program p; auto* mm = p.get_main_module(); auto x = mm->add_parameter("x", migraphx::shape{migraphx::shape::half_type, {2}}); auto l0 = mm->add_literal(std::numeric_limits::quiet_NaN()); x = mm->add_instruction(migraphx::make_op("concat", {{"axis", 0}}), x, l0); mm->add_instruction(migraphx::make_op("isnan"), x); return p; } };