Fix preprocessor condition on when to use fast float logistic implementation.

This commit is contained in:
Dieter Dobbelaere
2024-04-03 10:52:24 +02:00
committed by Rasmus Munk Larsen
parent 283d69294b
commit b2c9ba2bee

View File

@@ -1126,7 +1126,7 @@ struct scalar_logistic_op : scalar_logistic_op_impl<T> {};
// TODO(rmlarsen): Enable the following on host when integer_packet is defined
// for the relevant packet types.
#ifdef EIGEN_GPU_CC
#ifndef EIGEN_GPUCC
/** \internal
* \brief Template specialization of the logistic function for float.