Add missing CUTLASS_HOST_DEVICE (#671)

This commit is contained in:
hlu1 2022-10-21 19:20:38 -07:00 committed by GitHub
parent 4db6a6140e
commit 9b47403b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,6 +347,7 @@ struct Sigmoid<Array<half_t, N>> {
using Params = LinearCombinationGenericParams<T>;
CUTLASS_HOST_DEVICE
Array<T, N> operator()(Array<T, N> const &z, Params const &params_) const {
return this->operator()(z);
}