@@ -128,6 +128,36 @@ void bnll(const Stream& stream, Span<T> output, View<T> input) {
128128 generic_op<T, BNLLFunctor<T>>(stream, output, input);
129129}
130130
131+ template <class T >
132+ void ceil (const Stream& stream, Span<T> output, View<T> input) {
133+ generic_op<T, CeilFunctor<T>>(stream, output, input);
134+ }
135+
136+ template <class T >
137+ void floor (const Stream& stream, Span<T> output, View<T> input) {
138+ generic_op<T, FloorFunctor<T>>(stream, output, input);
139+ }
140+
141+ template <class T >
142+ void log (const Stream& stream, Span<T> output, View<T> input) {
143+ generic_op<T, LogFunctor<T>>(stream, output, input);
144+ }
145+
146+ template <class T >
147+ void rint (const Stream& stream, Span<T> output, View<T> input) {
148+ generic_op<T, RintFunctor<T>>(stream, output, input);
149+ }
150+
151+ template <class T >
152+ void sqrt (const Stream& stream, Span<T> output, View<T> input) {
153+ generic_op<T, SqrtFunctor<T>>(stream, output, input);
154+ }
155+
156+ template <class T >
157+ void not_k (const Stream& stream, Span<T> output, View<T> input) {
158+ generic_op<T, NotFunctor<T>>(stream, output, input);
159+ }
160+
131161template <class T >
132162void abs (const Stream& stream, Span<T> output, View<T> input) {
133163 generic_op<T, AbsFunctor<T>>(stream, output, input);
@@ -160,6 +190,12 @@ template void sigmoid<__half>(const Stream&, Span<__half>, View<__half>);
160190template void elu<__half>(const Stream&, Span<__half>, View<__half>);
161191template void abs<__half>(const Stream& stream, Span<__half> output, View<__half> input);
162192template void bnll<__half>(const Stream&, Span<__half>, View<__half>);
193+ template void ceil<__half>(const Stream&, Span<__half>, View<__half>);
194+ template void floor<__half>(const Stream&, Span<__half>, View<__half>);
195+ template void log<__half>(const Stream&, Span<__half>, View<__half>);
196+ template void rint<__half>(const Stream&, Span<__half>, View<__half>);
197+ template void sqrt<__half>(const Stream&, Span<__half>, View<__half>);
198+ template void not_k<__half>(const Stream&, Span<__half>, View<__half>);
163199template void power<__half>(const Stream&, Span<__half>, View<__half>, __half, __half, __half);
164200template void exp<__half>(const Stream&, Span<__half>, View<__half>, __half, __half);
165201#endif
@@ -174,6 +210,12 @@ template void sigmoid<float>(const Stream&, Span<float>, View<float>);
174210template void elu<float >(const Stream&, Span<float >, View<float >);
175211template void abs<float >(const Stream& stream, Span<float > output, View<float > input);
176212template void bnll<float >(const Stream&, Span<float >, View<float >);
213+ template void ceil<float >(const Stream&, Span<float >, View<float >);
214+ template void floor<float >(const Stream&, Span<float >, View<float >);
215+ template void log<float >(const Stream&, Span<float >, View<float >);
216+ template void rint<float >(const Stream&, Span<float >, View<float >);
217+ template void sqrt<float >(const Stream&, Span<float >, View<float >);
218+ template void not_k<float >(const Stream&, Span<float >, View<float >);
177219template void power<float >(const Stream&, Span<float >, View<float >, float , float , float );
178220template void exp<float >(const Stream&, Span<float >, View<float >, float , float );
179221
0 commit comments