mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-23 13:24:28 +08:00
Fix preprocessor condition on when to use fast float logistic implementation.
This commit is contained in:
parent
283d69294b
commit
b2c9ba2bee
@ -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
|
// TODO(rmlarsen): Enable the following on host when integer_packet is defined
|
||||||
// for the relevant packet types.
|
// for the relevant packet types.
|
||||||
#ifdef EIGEN_GPU_CC
|
#ifndef EIGEN_GPUCC
|
||||||
|
|
||||||
/** \internal
|
/** \internal
|
||||||
* \brief Template specialization of the logistic function for float.
|
* \brief Template specialization of the logistic function for float.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user