mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix preprocessor condition on when to use fast float logistic implementation.
This commit is contained in:
committed by
Rasmus Munk Larsen
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user