message: Fixed kernel types for Mali and PowerVR.
diff: @@ -60,10 +60,13 @@ std::string GetLSTMCode(const OperationDef& op_def, const CLDevice& device) {
  intermediate.Read4D("0", "0", "Z + state_size.w * 2", "B") + ";\n";
  c += " FLT4 r3 = " +
  intermediate.Read4D("0", "0", "Z + state_size.w * 3", "B") + ";\n";
  - c += " FLT4 input_gate = 1.0f / (1.0f + exp(-1.0f * r0));\n";
  + c += " FLT4 input_gate = (FLT4)(1.0f) / ((FLT4)(1.0f) + exp((FLT4)(-1.0f) "
  + "* r0));\n";
  c += " FLT4 new_input = tanh(r1);\n";
  - c += " FLT4 forget_gate = 1.0f / (1.0f + exp(-1.0f * r2));\n";
  - c += " FLT4 output_gate = 1.0f / (1.0f + exp(-1.0f * r3));\n";
  + c += " FLT4 forget_gate = (FLT4)(1.0f) / ((FLT4)(1.0f) + exp((FLT4)(-1.0f) "
  + "* r2));\n";
  + c += " FLT4 output_gate = (FLT4)(1.0f) / ((FLT4)(1.0f) + exp((FLT4)(-1.0f) "
  + "* r3));\n";
  c += " FLT4 new_st = input_gate * new_input + forget_gate * prev_st;\n";
  c += " FLT4 activation = output_gate * tanh(new_st);\n";
  c += " " + activation.Write4D("activation", "0", "0", "Z", "B");
  