@@ -117,28 +117,28 @@ class OpGluOutTest : public OperatorTest {
117
117
TEST_F (OpGluOutTest, AllInputFloatOutputSupport) {
118
118
#define TEST_ENTRY (ctype, dtype ) \
119
119
test_glu_out<ScalarType::dtype, ScalarType::Float>();
120
- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
120
+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
121
121
#undef TEST_ENTRY
122
122
}
123
123
124
124
TEST_F (OpGluOutTest, AllInputDoubleOutputSupport) {
125
125
#define TEST_ENTRY (ctype, dtype ) \
126
126
test_glu_out<ScalarType::dtype, ScalarType::Double>();
127
- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
127
+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
128
128
#undef TEST_ENTRY
129
129
}
130
130
131
131
TEST_F (OpGluOutTest, AllInputHalfOutputSupport) {
132
132
#define TEST_ENTRY (ctype, dtype ) \
133
133
test_glu_out<ScalarType::dtype, ScalarType::Half>();
134
- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
134
+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
135
135
#undef TEST_ENTRY
136
136
}
137
137
138
138
TEST_F (OpGluOutTest, AllInputBFloat16OutputSupport) {
139
139
#define TEST_ENTRY (ctype, dtype ) \
140
140
test_glu_out<ScalarType::dtype, ScalarType::BFloat16>();
141
- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
141
+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
142
142
#undef TEST_ENTRY
143
143
}
144
144
0 commit comments