MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ceil

Method ceil

dnn/include/megdnn/dtype/bfloat16.hpp:1142–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140 /// \param arg value to round
1141 /// \return rounded value
1142 MEGDNN_HOST MEGDNN_DEVICE static bfloat16 ceil(bfloat16 arg) {
1143 return bfloat16(binary_t(),
1144 round_bfloat16<std::round_toward_infinity>(arg.data_));
1145 }
1146
1147 /// Truncation implementation.
1148 /// \param arg value to round

Callers

nothing calls this directly

Calls 2

bfloat16Class · 0.85
binary_tClass · 0.70

Tested by

no test coverage detected