modified SSE code building

This commit is contained in:
2016-02-07 22:54:43 +01:00
parent 5f43fb8cfb
commit bec7a4f3ae
10 changed files with 28 additions and 43 deletions

View File

@@ -14,13 +14,13 @@ namespace ActivationFunction {
class StreamingActivationFunction : public ActivationFunction {
public:
virtual float operator()(const float &x)=0;
virtual float operator()(const float &x) const=0;
/**
* @brief Returns value of four outputs
* @param x is float[4], in every array value can be stored
*/
virtual __m128 operator()(const __m128 &x)=0;
virtual __m128 operator()(const __m128 &x) const=0;
};
}
}