mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-31 17:22:07 +08:00
Don't use the fast implementation if EIGEN_GPU_CC, since integer_packet is not defined for float4 used by the GPU compiler (even on host).
This commit is contained in:
parent
5a0a165c09
commit
a30ecb7221
@ -1033,7 +1033,9 @@ struct scalar_logistic_op {
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef EIGEN_GPU_COMPILE_PHASE
|
||||
// TODO(rmlarsen): Enable the following on host when integer_packet is defined
|
||||
// for the relevant packet types.
|
||||
#ifdef EIGEN_GPU_CC
|
||||
|
||||
/** \internal
|
||||
* \brief Template specialization of the logistic function for float.
|
||||
|
Loading…
x
Reference in New Issue
Block a user